Commit Graph

1267 Commits

Author SHA1 Message Date
topjohnwu fb04e32480 Bypass external rw check in the proper location 2020-08-22 05:27:30 -07:00
topjohnwu 14a2f63b8b Several changes for using MediaStore
- Change config key name so default downloads to folder 'Download'
- Always use getFile as we do not need existing file deleted
- Fallback to use File based I/O pre API 29 as officially MediaStore
  APIs do not support general purpose usage. And also, it was working
  fine on all devices before. If it ain't broke, don't fix it
- Show full download path in settings to make it more clear to the user
- Close streams after using them
2020-08-22 04:38:51 -07:00
vvb2060 9e81db8692 Support scoped storage 2020-08-22 04:38:51 -07:00
topjohnwu 1ed67eed35 Rename classes and fields 2020-08-21 06:45:40 -07:00
topjohnwu abc5457136 Cleanup DownloadService 2020-08-21 06:27:13 -07:00
topjohnwu 4b238a9cd0 Add feature to create launch shortcuts 2020-08-21 03:36:12 -07:00
topjohnwu 105b2fc114 Ensure SplashActivity is ran before MainActivity 2020-08-19 05:19:24 -07:00
topjohnwu 5ed4071f74 Change ActivityExecutor signature 2020-08-19 05:19:24 -07:00
topjohnwu 551a478fdc Fix occasional broken animation 2020-08-19 05:19:24 -07:00
topjohnwu 7c319f5fc3 Moar refactoring 2020-08-19 05:19:24 -07:00
topjohnwu 1fcf35ebeb Do not hardcode appcompat widget classes
They should be handled by the theme
2020-08-19 05:19:24 -07:00
topjohnwu 34450cdddd More refactoring
Cleanups, move classes to sane locations, etc.
2020-08-19 02:05:23 -07:00
topjohnwu 846bbb4da1 Reorganize app source code 2020-08-18 06:31:15 -07:00
topjohnwu d7a26dbf27 Tidy up ViewEvents 2020-08-18 06:03:12 -07:00
topjohnwu a86d5b3e61 Remove unnecessary abstractions 2020-08-18 05:03:56 -07:00
topjohnwu 7f225b3973 Minor MarkwonImagePlugin updates 2020-08-15 23:20:49 -07:00
vvb2060 a4c1ddd9f2 Use uid 2000 to install patched apk 2020-08-15 22:16:15 -07:00
topjohnwu 3f053b8547 Minor code changes 2020-08-14 03:17:10 -07:00
Viktor De Pasquale 79aa261ca2 Fixed manager beginning to hide immediately on field change
Bug was caused by lenient usage of "value" property defined in the "line item" in settings. Developer error allowed to use the internal value, that was not properly protected, in a way that did not conform with the latest "Observer" rewrite.

Additional comments were added to hopefully prevent bugs of this kind in the future. The property is now properly protected so it gives away clues that this access is considered "not cool".
2020-08-14 02:23:03 -07:00
topjohnwu ac2a9da4c4 Fix Markdown rendering
Close #3074
2020-08-14 02:00:06 -07:00
Viktor De Pasquale d8b1d79879 Fixed first title being partially obscured by toolbar 2020-08-12 04:33:00 -07:00
topjohnwu feb0f4b7b5 Fix MagiskDialog 2020-08-12 03:33:19 -07:00
topjohnwu 6c8fe46590 Remove unused resources 2020-08-11 04:33:07 -07:00
topjohnwu 36a70e995f Remote -> Online 2020-08-11 03:36:41 -07:00
topjohnwu 537ae1a315 Cleanup setting items 2020-08-11 03:30:00 -07:00
topjohnwu 87b6bf2c26 Remove strip in settings item 2020-08-11 00:54:19 -07:00
topjohnwu 9df6b0618a Update MagiskHide list 2020-08-10 07:05:07 -07:00
topjohnwu c7e30ac63e Update superuser list 2020-08-10 02:33:44 -07:00
topjohnwu f5e547944a Do not toggle when clicking cards 2020-08-09 22:30:38 -07:00
topjohnwu f5aa6a3cf8 Update module fragment
Update UI and logic for loading modules
2020-08-09 21:41:23 -07:00
topjohnwu c944277e78 Use switches with 2 way binding instead of custom ImageView 2020-08-09 14:50:16 -07:00
topjohnwu 24f6024383 More homescreen UI improvements 2020-08-09 06:52:02 -07:00
topjohnwu 15b1215972 Only show SafetyNet when GMS exists 2020-08-09 04:39:12 -07:00
topjohnwu 893a8ec8d9 Strip out most StaggeredGridLayoutManager in code 2020-08-09 03:30:00 -07:00
topjohnwu da2b00de59 Several home screen changes 2020-08-09 02:32:13 -07:00
vvb2060 2e95d9f07e Update to APK Signature Scheme v2 2020-08-08 05:12:02 -07:00
topjohnwu fe2388394d Update dependencies 2020-08-08 04:12:08 -07:00
topjohnwu 5b28a713e0 Move functions around 2020-07-23 22:43:25 -07:00
topjohnwu f1fb7404c2 Catch exceptions when loading remote modules
Fix #3004
2020-07-20 22:35:50 -07:00
topjohnwu fc67c0195f Workaround bug in AOSP code
Fix #2983, https://issuetracker.google.com/issues/36984866
2020-07-20 22:22:57 -07:00
topjohnwu 2f02f9a580 Update libsu 2020-07-20 21:58:23 -07:00
topjohnwu 07f712a1ce Always show hidden apps 2020-07-17 06:05:38 -07:00
topjohnwu c7044b0d20 Remember show system app toggle in MagiskHide list 2020-07-17 05:32:08 -07:00
topjohnwu 15866cfba9 Fix incorrect command
Fix #2992
2020-07-17 05:28:18 -07:00
topjohnwu 4c2570628d Make SettingsItems make much more sense 2020-07-17 03:02:58 -07:00
topjohnwu 113eec59f9 Request storage rw for saving logs
Fix #2993
2020-07-17 01:27:52 -07:00
topjohnwu dd62fe89f7 Use CallbackList for collecting STDOUT in flash screen
Fix #2988
2020-07-17 00:13:18 -07:00
topjohnwu ec2d7d77eb Reduce usage of ObservableField 2020-07-15 02:52:15 -07:00
topjohnwu 6c6368fd81 Reduce usage of delegation 2020-07-15 01:21:57 -07:00
topjohnwu ba31c6b625 Use coroutines instead of raw executors 2020-07-14 02:37:52 -07:00