Commit Graph

382 Commits

Author SHA1 Message Date
Wang Han 0dfb7f85f7 [app] Call reloadInstalledModules() unconditionally
* Final step to get a correct status of enabled modules.
2021-05-23 14:34:13 +08:00
LoveSy 5084205647 [app] Refine codes 2021-05-23 11:03:54 +08:00
LoveSy 953c0394cc [app] Update HiddenApiBypass to 2.0 2021-05-23 11:03:54 +08:00
LoveSy 7c77589d35 [app] Fix user tab 2021-05-23 11:03:54 +08:00
Wang Han 85bf905d8c
[app] Call getEnabledModules() in reloadSingleModule() (#658)
* To get a reliable enabled status, we have to rely on
   backend every time a module is uninstalled from
   the manager.

Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-05-22 13:49:40 +00:00
tehcneko 33cf2b994c
[app] Fix app filter (#657) 2021-05-22 13:43:36 +00:00
Wang Han 7257181e2e
[app] Query enabled modules in reloadInstalledModules() (#655)
* This ensures that enabled modules will be updated together
   with installed modules.
2021-05-22 21:25:02 +08:00
tehcneko 0a452b7f3d
[app] Fix app filter (#653) 2021-05-22 20:17:23 +08:00
tehcneko fb05d85a9b
[app] Don't filter recommended apps (#650)
* [app] Don't filter recommended apps

* Update AGP

* Update ScopeAdapter.java

Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2021-05-22 10:55:33 +00:00
tehcneko e6fba900f4
[app] Fix install dialog long clickable (#645) 2021-05-21 17:11:18 +08:00
LoveSy 02fd5be2fc [core] Switch to user if needed 2021-05-21 16:45:40 +08:00
tehcneko c0b556f2d8 [app] Fix get launch intent 2021-05-21 16:45:40 +08:00
tehcneko e2bb7d42f2 [app] Start and query activity from backend 2021-05-21 16:45:40 +08:00
LoveSy c3765d4266
[app] Fix race condition (#636) 2021-05-20 14:22:37 +08:00
tehcneko c1bed35bcf
[app] Make background color follow system theme (#634) 2021-05-19 19:36:49 +08:00
tehcneko d490c93fca [app] Use Android S blur api 2021-05-19 18:48:10 +08:00
LoveSy fd32c3107a
Detect system framework injection status (#619) 2021-05-18 06:25:06 +00:00
LoveSy 7de566cd2c
[app] Fix install dialog empty state (#607)
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-05-17 09:20:42 +00:00
LoveSy feadd30608
[app] Bypass hidden api (#606) 2021-05-17 17:02:08 +08:00
LoveSy 34abdf8d97
[app] Auto hide fab when scroll & update rikkaX insets (#604)
* [app] Auto hide fab when scroll

* update rikkaX insets
2021-05-17 06:35:24 +00:00
LoveSy ce0a095a7a
[app] Add fab to add modules to other users (#603) 2021-05-17 12:58:21 +08:00
vvb2060 2197fec80f
Fix uninitialized (#595) 2021-05-16 12:02:02 +08:00
vvb2060 e272e48e86
Install to profiles (#592) 2021-05-15 21:29:49 +00:00
vvb2060 d395365e2c
View in other app (#591) 2021-05-16 04:37:31 +08:00
vvb2060 5ec10c89bb
Fix uninstall (#588)
* Fix uninstall

* Bump version again

* Add installExistingPackageAsUser

* Drop INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS

* Fix activation

* 反了

* 空格

Co-authored-by: Wang Han <wanghan1995315@gmail.com>
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-05-15 12:46:14 +00:00
tehcneko 64efa50685
[app] Fix opening modules and apps for other users (#584) 2021-05-15 11:49:45 +08:00
tehcneko fe17834fa3
[app] Fix module list crashes (#578) 2021-05-15 09:47:18 +08:00
tehcneko 438d8a2b6e
[app] Fix module list refreshing (#577) 2021-05-14 15:42:29 +00:00
tehcneko 693016ae85
[app] Add empty view to lists (#575) 2021-05-14 14:05:58 +00:00
tehcneko c13f4c90d1
[app] Fix module list padding when only one user (#574) 2021-05-14 20:57:05 +08:00
tehcneko 3334a6b511
[app] Fix module list when only one user (#573) 2021-05-14 17:24:18 +08:00
tehcneko 2336c510d5
[app] Fix resolve settings intent for other users (#571) 2021-05-14 16:40:18 +08:00
LoveSy dbc0226d66
[core] Recognize module from other user profile (#555)
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-05-14 16:28:12 +08:00
tehcneko 7f539c8dbe
[app] Allow using system accent color as theme color (S+) (#560)
* Compile with Android S SDK

* [app] Allow using system accent color as theme color (S+)
2021-05-11 15:44:24 +08:00
vvb2060 7a35906cb6
Update xposed module metadata parsing (#558)
* Stop read xposedmodule

Official documentation requires `xposedmodule` value is `true`, but in the previous implementation there was no judgment on what the value was, even if `false`. So, remove it and use `xposedminversion` to determine if the app is an xposed module.

* xposedscope supports string

```xml
<meta-data
    android:name="xposedscope"
    android:value="com.example.app1;com.example.app2" />
```
2021-05-09 17:01:00 +00:00
tehcneko 3f93a17184
[app] Fix crash in searching (#554)
Fix #553
2021-05-09 01:01:57 +00:00
Wang Han f69755827a
[app] Hide empty system preference category (#547) 2021-05-08 04:37:54 +08:00
tehcneko 7139c3f11f
[app] Added option to disable forced display of the application launcher icon on Android 10+ (#541)
* [core] Grant android.permission.WRITE_SECURE_SETTINGS

* Disable jetifier

* [app] Added option to disable forced display of the application launcher icon on Android 10+
2021-05-06 12:27:38 +00:00
tehcneko 11801e0145
[app] Fix crash when module no longer exists (#536) 2021-05-04 08:37:38 +00:00
tehcneko 7d171bcfa0 [app] Nuke holiday theme 2021-04-28 19:12:45 +08:00
tehcneko da5a01e1ae [app] Fix context menu title 2021-04-28 19:12:45 +08:00
tehcneko 3241697028
[app] Don't clear show list on refresh (#521) 2021-04-27 22:44:44 +08:00
tehcneko ef2845610e
[app] Fix usage of filter (#520) 2021-04-27 14:38:15 +00:00
tehcneko b3ee9ad61a
[app] Fix java.lang.IndexOutOfBoundsException: Inconsistency detected. (#517) 2021-04-26 08:46:19 +00:00
Wang Han ee49c01ccf
[app] Reverse logic for filter option (#515) 2021-04-26 16:00:28 +08:00
Wang Han 6f1ad1443e
[app] Update shouldHideApp() check for new preference (#513) 2021-04-26 06:59:35 +00:00
Wang Han 494f793404 Update LSPosedManagerServiceClient.java 2021-04-25 21:31:10 +08:00
tehcneko 1d10cf4760 [app] Remove SELinux permissive check 2021-04-25 21:31:10 +08:00
tehcneko 84ea30d3ac [app] Make app filter menu clearer 2021-04-25 21:31:10 +08:00
vvb2060 a091a43d10
Add dnspod (#494) 2021-04-18 11:04:36 +08:00