Commit Graph

803 Commits

Author SHA1 Message Date
topjohnwu 010e4de4e1 Introduce DynamicClassLoader 2019-08-04 23:49:09 -07:00
topjohnwu 8f07747452 Remove net module 2019-08-04 18:33:20 -07:00
topjohnwu eb5ce5be1e Fix saving logs
Fix #1722
2019-08-04 14:17:01 -07:00
topjohnwu 71d855e836 Cleanup more code 2019-08-04 13:47:14 -07:00
topjohnwu 33b7ab593c Migrate PatchAPK to Kotlin 2019-08-04 13:00:27 -07:00
topjohnwu 7cfab33ebb Make sure DownloadService always start with app context 2019-08-02 01:21:22 -07:00
topjohnwu 1ababc8c7f RepoDB does not need to run on main thread 2019-08-02 01:20:16 -07:00
topjohnwu 1f75e63c37 Fix crashes in MarkdownWindow
Fix #1628
2019-08-02 01:16:04 -07:00
topjohnwu cb3f9b9740 More tweaking to Rx pipeline 2019-08-01 23:08:58 -07:00
topjohnwu 9784353223 Fix ActivityTracker
Koin does not support nullable types
2019-07-29 04:18:05 -07:00
topjohnwu 7d93ca5c73 Modernize MagiskInstaller 2019-07-29 04:05:54 -07:00
topjohnwu ac20063e86 Disable cache for Magisk Manager 2019-07-29 03:56:35 -07:00
topjohnwu debaec32af Remove old download progress update system 2019-07-29 00:42:53 -07:00
topjohnwu 0e9b71e7a9 Show notification on error 2019-07-29 00:37:01 -07:00
topjohnwu 85f5ff3c14 Download Magisk Manager via new service 2019-07-29 00:26:18 -07:00
topjohnwu c15f80b33f Improve Rx pipeline 2019-07-28 14:49:06 -07:00
topjohnwu b2e6ba3c4a Move no thanks from dialogs 2019-07-28 03:54:46 -07:00
topjohnwu b16f696b0e Cleanups 2019-07-28 03:47:07 -07:00
topjohnwu 9adfb382e8 Only launch FlashActivity if app is foreground 2019-07-28 03:38:27 -07:00
topjohnwu 44368383f4 Fix fetching repo ordering 2019-07-28 02:21:55 -07:00
topjohnwu d1ff7e0ffe Move extensions to its own package 2019-07-28 02:10:22 -07:00
topjohnwu 42e7db8d13 Modernize Repo class for Magisk modules
- Use Kotlin
- Use Room database
- Use retrofit for networking
- Use RxJava pipeline for repo updating
2019-07-28 01:54:34 -07:00
topjohnwu 0c17ea5755 Migrate Magisk Modules to Kotlin 2019-07-27 15:46:44 -07:00
topjohnwu cdaff5b39c Update module download pipeline 2019-07-26 02:26:02 -07:00
topjohnwu 0aebc0a8e3 Use new service to download uninstall.zip 2019-07-25 03:10:24 -07:00
topjohnwu c3a89f589e Download to proper filename 2019-07-25 01:54:42 -07:00
topjohnwu 971cd73fb3 Dismiss notification on error 2019-07-25 01:37:47 -07:00
topjohnwu 1947860d61 Dismiss notification after flashing 2019-07-25 01:05:06 -07:00
topjohnwu 55aaa421e8 Directly download to target location 2019-07-23 01:31:59 -07:00
topjohnwu a8932706d8 Consolidate Magisk download subject 2019-07-23 00:55:12 -07:00
topjohnwu a97972aac0 Update notification once per second 2019-07-23 00:33:28 -07:00
topjohnwu 094c3d559a Minor fixes and cleanups 2019-07-22 01:49:21 -07:00
topjohnwu 6fb032b3c2 Clean ups 2019-07-20 22:37:34 -07:00
topjohnwu 8ca188f4d4 Stream and process module zips 2019-07-20 21:04:06 -07:00
topjohnwu 746a1d8d59 Directly download to magisk.zip for flashing 2019-07-20 14:57:03 -07:00
Viktor De Pasquale f6045bf8b5 Added custom dialog for download location only 2019-07-20 14:57:03 -07:00
Viktor De Pasquale e83f40d5c5 Added actions for opening files in the file browser
No icons are added at this time, so crashes might occur
2019-07-20 14:57:03 -07:00
Viktor De Pasquale e5118418b2 Added option to have custom download location
The location is automatically added to list of supported paths for caching
2019-07-20 14:57:03 -07:00
Viktor De Pasquale 7cd814d917 Updated service to use extra transformer so the service itself is not plagued by unnecessary code 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 78282c1a49 Removed unused entry 2019-07-20 14:57:03 -07:00
Viktor De Pasquale fd4214ccf3 Fixed minor bugs regarding notification cancellation 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 0785945635 Added appending installers to modules 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 967bdeae7b Updated service architecture and extracted useful tools to separate class 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 452db51669 Updated flash location so it's one layer deeper preventing accidental cache deletion 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 5875ced367 Fixed launching activities on newer systems 2019-07-20 14:57:03 -07:00
Viktor De Pasquale fbac6bcfd0 Fixed substrate handling multiple downloads at once 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 0dcd3ece9d Updated downloading modules 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 224fff89e3 Updated object usage for module subjects 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 22e73644f9 Added option to run service in foreground right away 2019-07-20 14:57:03 -07:00
Viktor De Pasquale 6a0f6ab319 Updated magisk installer so it uses predownloaded file 2019-07-20 14:57:03 -07:00