topjohnwu
7bd52d0245
Update net module
2019-01-01 18:45:48 +08:00
topjohnwu
267868c3b0
Switch internal download dir to cache dir
2018-12-31 16:05:29 +08:00
topjohnwu
6d27eb7f64
Dynamic load updated APK for patching
...
Magisk Manager sometimes updates the code for patching the APK due to several changes.
When an old manager tries to patch an updated APK using its internal methods, it is
sometimes incomplete, or simply won't work at all.
This commit exposes an API that can be dynamically loaded from an old app to invoke the
updated patchAPK method from the downloaded new APK.
2018-12-31 15:53:24 +08:00
topjohnwu
039be65a89
Fix Magisk Manager hiding after using WorkManager
2018-12-31 14:55:03 +08:00
topjohnwu
570ecd9987
Prevent unnecessary setTextColor
2018-12-31 03:04:30 +08:00
topjohnwu
a575180475
Use recyclerlist for FlashActivity console
2018-12-31 02:47:30 +08:00
topjohnwu
07d1a20f3d
Improve StringListAdapter
2018-12-31 02:46:50 +08:00
topjohnwu
76491cbb31
Use more general solution
2018-12-31 01:50:41 +08:00
topjohnwu
bf7d6ddcb2
Use recyclerview to show Magisk logs
2018-12-30 22:15:00 +08:00
topjohnwu
44b969e0b6
Minor notification changes
2018-12-30 01:06:31 +08:00
topjohnwu
176e470497
Use platform icons for notifications
2018-12-29 17:56:24 +08:00
topjohnwu
646a10d9bf
Use foreground service for downloading modules
2018-12-29 17:49:41 +08:00
topjohnwu
52137fd64f
Remove useless service
2018-12-29 14:14:29 +08:00
topjohnwu
0be158afa1
Official KitKat support
2018-12-28 16:03:23 +08:00
topjohnwu
496b22026f
Backwards compatible to SDK 17
2018-12-28 05:15:59 +08:00
topjohnwu
da9c6f6e23
Switch to WorkManager
2018-12-27 22:07:47 +08:00
topjohnwu
58ba0b0b4e
Stop showing dialog when update available
2018-12-27 18:11:03 +08:00
topjohnwu
1d0b87246a
Handle vector drawables
2018-12-27 17:28:06 +08:00
topjohnwu
920b60da19
Support SDK 17 for stub APK
2018-12-27 14:35:55 +08:00
topjohnwu
8d210b5e37
Enhance EMUI 9 user experience
2018-12-25 01:08:46 +08:00
topjohnwu
01344c451f
Move more logic to core module
2018-12-24 21:16:51 +08:00
topjohnwu
aad9aced18
Render Markdown natively
...
Stop using problematic WebView
2018-12-23 19:29:25 +08:00
topjohnwu
fd7786633d
Small refactoring fixes
2018-12-13 06:05:19 -05:00
topjohnwu
bce9cfa39a
Update LocaleManager
2018-12-13 05:53:39 -05:00
topjohnwu
ff3d66a661
Separate backend logic from frontend UI
2018-12-13 04:35:50 -05:00
topjohnwu
59b1e63bdf
Use internal library for networking
2018-12-12 05:52:13 -05:00
topjohnwu
c75512ba6e
Don't try to force reload if network drop
2018-12-09 03:54:57 -05:00
topjohnwu
fd4a27dbf2
Fix NPE when unexpected network drop
...
Fix #839
2018-12-09 03:28:28 -05:00
topjohnwu
9c63e31da6
Remove unnecessary empty lines
2018-12-08 03:58:33 -05:00
topjohnwu
c91f809eba
Remove all backwards compatibility nonsense
...
This also allows full obfuscation
2018-12-08 03:54:00 -05:00
topjohnwu
a54eaf5371
Hardcode snet extension URL and version
2018-12-08 00:43:50 -05:00
topjohnwu
0f5f15a5ce
Stop signing module zips
...
Nobody should be using the signature verification in recoveries
2018-12-07 21:56:54 -05:00
topjohnwu
14ac37e8a5
Fix and optimize APK installations
2018-12-07 21:42:53 -05:00
topjohnwu
b495f37299
Optimize imports
2018-12-03 10:09:14 -05:00
topjohnwu
86d8b50547
Update CheckUpdate
2018-12-03 10:05:33 -05:00
topjohnwu
7b04386162
Patch app label when repackaging
2018-12-03 09:52:41 -05:00
topjohnwu
07bfdf3e4d
Allow multiple progress notifications
2018-12-03 02:28:20 -05:00
topjohnwu
d510224e2a
Use notifications for hiding manager
2018-12-03 02:24:07 -05:00
topjohnwu
e658f9297d
Make progress notifications persist
2018-12-03 01:52:36 -05:00
topjohnwu
2b502e9a0f
Small reorganization
2018-12-03 01:44:13 -05:00
topjohnwu
59141f9bbe
Show failure when download fails
2018-12-02 23:44:56 -05:00
topjohnwu
3af66b72f2
Use notifications when downloading modules
2018-12-02 23:41:16 -05:00
topjohnwu
422c24bd68
Remove debug loggin in GeneralReceiver
2018-12-02 22:52:23 -05:00
topjohnwu
f0f87c8eb9
Reduce BroadcastReceivers
2018-12-02 16:53:00 -05:00
topjohnwu
80dad54119
Some cleanups
2018-12-02 15:28:18 -05:00
topjohnwu
56a76df28e
Fix string resources in shortcut
2018-12-02 15:16:05 -05:00
topjohnwu
ee2c801fe0
Better progress notifications
2018-12-02 15:15:42 -05:00
topjohnwu
857e6e8345
Tweak notifications
2018-12-02 05:33:53 -05:00
topjohnwu
0241a50c6f
Stop using platform provided DownloadManager
2018-12-02 04:47:57 -05:00
topjohnwu
5fb96cdcf4
Auto launch new app after repackaging/restoring Manager
2018-11-27 03:56:14 -05:00