topjohnwu
b184b45140
Fix escaped strings with single quotes
...
Fix #125
2022-09-11 10:20:41 -07:00
topjohnwu
d3cafdb50d
Add a timeout when waiting for client respond
...
The client process can be killed before it had a chance to connect
to the root process with binder. Add a 10 second timeout before any
client has connected.
2022-09-11 09:49:21 -07:00
topjohnwu
655f5ff340
Don't use dynamic intent filter actions
2022-09-09 15:08:23 -07:00
topjohnwu
2d04bd43d7
Update gradle and AGP
2022-09-09 15:04:46 -07:00
topjohnwu
02abb7b204
Publish 5.0.2
2022-06-02 01:48:12 -07:00
topjohnwu
979cb2b169
More efficient main thread detection
2022-06-02 00:58:31 -07:00
topjohnwu
8ef7539da8
Resolve /proc/self/exe before executing
2022-06-02 00:38:57 -07:00
topjohnwu
cae7a272fe
Update Android Studio
2022-05-18 01:40:48 -07:00
topjohnwu
3040b9354c
Publish 5.0.1
2022-05-04 04:21:55 -07:00
topjohnwu
08433b0a8f
Add missing annotations
2022-05-04 04:10:29 -07:00
topjohnwu
a43c03c931
Remove busybox
2022-05-04 04:00:03 -07:00
topjohnwu
b4a373dd17
Open pipe directly to prevent deadlock
...
We don't need non-blocking I/O with streams
2022-05-03 23:48:04 -07:00
topjohnwu
7d07b6b30b
Consolidate shell streams
2022-05-03 22:32:09 -07:00
topjohnwu
691af9e6d4
Implement I/O optimized for streaming
2022-05-03 22:13:05 -07:00
topjohnwu
b12ba81d30
Update README
2022-05-02 21:33:00 -07:00
topjohnwu
28f569c767
Update CHANGELOG
2022-05-02 21:11:41 -07:00
topjohnwu
8d352c63c3
Mark BusyBoxInstaller as deprecated
...
Also remove all usage of any utility methods from the core module,
as this is planned to be the last release of the busybox module.
This version should be fully self contained so that it may be used
even with future libsu versions.
2022-05-02 20:20:29 -07:00
topjohnwu
93c11bec0a
Restore busybox module
2022-05-02 20:12:30 -07:00
topjohnwu
17c67a57dd
Update Javadoc and Example
2022-05-02 04:04:09 -07:00
南宫雪珊
fc42e8274e
Add startup agents warning
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2022-05-01 13:12:06 -07:00
南宫雪珊
0f3698afa4
Check main shell when setBuilder
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2022-05-01 05:02:55 -07:00
topjohnwu
a9551dabcc
Log exit code
...
Close #118
2022-05-01 04:40:36 -07:00
topjohnwu
c33b59e3a0
Use stock File implementation
2022-05-01 04:21:00 -07:00
topjohnwu
d793ba9fff
Add new API setContext
2022-05-01 03:44:41 -07:00
topjohnwu
acfc071421
Centralize FIFO creation
2022-05-01 01:23:46 -07:00
topjohnwu
37523ceec6
Cleanup example code
2022-05-01 00:41:51 -07:00
topjohnwu
f8610b8bf6
Remove the busybox module
2022-04-30 23:59:51 -07:00
topjohnwu
029a05d746
Add new API getChildFile
2022-04-30 23:55:49 -07:00
topjohnwu
c9a4c4e309
Provide default argument for newOutputStream
2022-04-29 05:07:23 -07:00
topjohnwu
1325e6b2db
Final API adjustments
2022-04-29 03:28:03 -07:00
topjohnwu
d0ce4b5305
Support multiple clients
2022-04-29 03:04:52 -07:00
topjohnwu
a2aaf414a8
Handle mode error on the client
2022-04-29 00:55:36 -07:00
topjohnwu
af263905d6
Make OpenMode part of the API
2022-04-29 00:52:34 -07:00
topjohnwu
e7a5594ef1
Update Javadoc
2022-04-29 00:39:22 -07:00
topjohnwu
bef6098d2f
Simplify checkException
2022-04-28 22:20:33 -07:00
topjohnwu
11ed6e8034
Better error handling
2022-04-28 03:32:39 -07:00
topjohnwu
3ccd3cd57e
Make SuFile not depend on FileImpl
2022-04-28 02:57:15 -07:00
topjohnwu
ef8621d0bc
Add more APIs to ExtendedFile
2022-04-27 01:17:22 -07:00
topjohnwu
d14c711955
FileSystemApi -> FileSystemManager
2022-04-26 23:54:09 -07:00
topjohnwu
a5a9cd3da8
Add more APIs into ExtendedFile
2022-04-23 17:21:26 -07:00
topjohnwu
74d7d23e4b
Cleanup API surface
2022-04-23 15:58:13 -07:00
topjohnwu
3eaeea1403
Rename module to nio
2022-04-22 04:37:43 -07:00
topjohnwu
d7e114b869
Add LocalFile
2022-04-22 04:21:09 -07:00
topjohnwu
b6a4d3e95b
Make ExtendedFile part of public API
2022-04-22 00:34:00 -07:00
topjohnwu
ed66bdebf7
sendfile only works on mmap-able files
2022-04-21 23:26:58 -07:00
topjohnwu
1e0f5300ca
Implement RemoteFileChannel
2022-04-21 03:36:15 -07:00
topjohnwu
8b0200d195
Add new module ipc-utils
2022-04-15 04:16:19 -07:00
topjohnwu
c44dacc724
Move Shell.rootAccess() to deprecation section
2022-04-14 23:13:33 -07:00
topjohnwu
8fa89d240c
Remove usage of Shell.rootAccess()
2022-04-14 23:05:20 -07:00
topjohnwu
19126657f7
Add new public API isAppGrantedRoot
2022-04-14 00:23:12 -07:00