Commit Graph
69 Commits
Author SHA1 Message Date
topjohnwu 2aa923191e Rename DownloadManager to DownloadEngine
Also add some documentation
2024-02-06 17:54:15 -08:00
topjohnwu fbd1dbb20c Manage MenuProvider with lifecycle state 2023-06-22 16:12:35 -07:00
topjohnwu 6c09fc2e64 Move addMenuProvider into onStart 2023-06-22 15:47:12 -07:00
LoveSy 0a85ef61c3 Call removeMenuProvider on Fragment::onStop 2023-06-22 15:27:23 -07:00
topjohnwu 22e023b58d Set notes on main thread 2023-04-06 00:53:06 -07:00
topjohnwu 69b66ef637 Make core package more self contained 2023-04-05 23:04:33 -07:00
topjohnwu 5117dc1a31 Reorganize code 2023-04-03 17:47:07 -07:00
topjohnwu af054e4e31 Bump minSdk to 23 2023-03-17 04:24:26 -07:00
topjohnwu fe6b658c02 Use MenuProvider 2023-03-09 18:05:37 -08:00
LoveSy 3cf66d1c57 Fix currentFocus
Looks like currentFocus does not always exist even after setContentView,
so I hereby use another way to check if setContentView is called
2023-03-09 17:52:38 -08:00
LoveSy e14f7b6908 No KeyDispatch or OnBackPress when no currentFocus 2023-03-07 20:20:35 -08:00
topjohnwu 928a16d8cc Update app to target API 33
Close #6206
2022-08-23 03:59:09 -07:00
topjohnwu 515f81944c Move coroutine job into its own class 2022-06-10 04:12:31 -07:00
topjohnwu 46d4708386 Decouple state from BaseViewModel 2022-06-10 02:13:25 -07:00
topjohnwu 482a5b991b Don't always refresh on network state change 2022-06-09 23:28:46 -07:00
topjohnwu 317153c53a Better stub launch flow 2022-06-05 19:15:43 -07:00
topjohnwu fa60daf9b5 Verify caller before uninstallation 2022-06-05 07:03:26 -07:00
残页 2106751ea4 Fix SnackBar shows behind window insets 2022-06-03 03:21:56 -07:00
RikkaW 6a2ae89846 Fix card view background color on API 21 & 22 2022-06-01 09:04:35 -07:00
topjohnwu c0981174a8 Use LiveData instead of Observable 2022-05-29 03:57:42 -07:00
canyie 0cc29350a0 Navigate only if user has not left the fragment 2022-05-28 22:40:09 -07:00
topjohnwu 683cfee88b Cleanup and move things around 2022-05-26 22:05:28 -07:00
topjohnwu 3bcaf0ed5b Move more files into core 2022-05-25 05:48:02 -07:00
topjohnwu 4eb9240806 Handle Activty recreation on content result
Credits to @canyie for the initial PR and finding the bug
Close #5791, fix #5789
2022-05-08 14:29:59 -07:00
topjohnwu cc79a96fa3 Update libsu 2022-05-03 01:25:26 -07:00
topjohnwu f2c15c7701 Ensure RootService is launched 2022-03-23 18:44:05 -07:00
topjohnwu 71e37345b4 Update libsu 2022-02-28 20:14:58 -08:00
topjohnwu 5d400fbe90 Check REQUEST_INSTALL_PACKAGES before actions 2022-02-14 02:15:50 -08:00
LoveSy 1893359142 Fix crash when fragment is detached from activity 2022-01-27 01:54:24 -08:00
topjohnwu ab2cc72814 Remove unnecessary root service connection wait 2022-01-25 01:21:21 -08:00
vvb2060 3d06ba1878 Use WindowCompat 2022-01-23 02:44:59 -08:00
topjohnwu 8eac6c0b48 Cleanup arch classes 2022-01-22 14:44:46 -08:00
topjohnwu 47545b45b8 Clean up MagiskDialog 2022-01-21 00:50:02 -08:00
canyieandLoveSy b0fba6ce5b Optimize navigation back stack
Fix topjohnwu#4333

Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-01-20 03:38:00 -08:00
vvb2060 2997258fd0 Cleanup code 2022-01-18 02:02:41 -08:00
vvb2060 11600fc116 Use libs instead of copy code 2022-01-18 02:02:41 -08:00
topjohnwu d7b51d2807 Update dependencies 2022-01-14 00:07:19 -08:00
RikkaW 1df2a04713 Find suitable anchor view for SnackBar
This will fix the SnackBar position if BottomNav or FAB is visible.

Fix #5163
Fix #5135
2022-01-10 23:10:42 -08:00
topjohnwu edcf9f1b0c Introduce RootServices to the app 2021-12-13 04:05:42 -08:00
topjohnwu 2115bcd8b0 Relaunch and recreate is slightly different 2021-11-05 16:05:12 -07:00
topjohnwu 1bdd6e1a9d Migrate to Activity Result APIs 2021-11-05 15:53:34 -07:00
topjohnwu 98deec232b Minor adjustments 2021-11-05 13:55:18 -07:00
topjohnwu 022c217cfe Migrate to SplashScreen API 2021-11-05 04:16:58 -07:00
vvb2060 e49d29a914 Fix fragments lifecycleOwner 2021-11-02 03:10:29 -07:00
topjohnwu abfec57972 Move files around 2021-09-13 01:47:36 -07:00
topjohnwu 743c7c9326 App code reorganization 2021-09-01 01:17:27 -07:00
topjohnwu 067248da75 Cleanup RvItems 2021-09-01 01:17:27 -07:00
topjohnwu 5c333dec33 Minor changes 2021-05-09 20:45:53 -07:00
vvb2060 fb93af665d Remove obsolete SDK_INT check 2021-04-23 16:56:23 -07:00
topjohnwu 038f73a5f7 Remove Koin
Non static DI is bad
2021-04-18 04:46:11 -07:00