Commit Graph

455 Commits

Author SHA1 Message Date
LoveSy 31e4254681
[app] Fix crash when module not found (#744) 2021-06-11 23:37:14 +08:00
LoveSy 32329ac7d3
[app] Fix crash when rotating screen (#743) 2021-06-11 18:59:27 +08:00
LoveSy ccafa7d29a
[app] Fix scroll bar of module fragment from shortcut (#740)
* [app] Fix scroll bar of module fragment from shortcut

* Also for RepoItemFragment
2021-06-11 18:27:47 +08:00
LoveSy f64871dd0c
[app] Fix crash (#741)
```
java.lang.NullPointerException: Attempt to read from field 'java.lang.Object N8.c' on a null object reference
 at org.lsposed.manager.ui.fragment.RepoFragment.g1(:1)
```
2021-06-11 05:38:51 +00:00
Wang Han 580fde3d4a
[app] Discard modules without releases again (#734)
* Yesterday once more.
2021-06-06 05:31:26 +00:00
LoveSy 9c8f9beb49
[core] Check system properties (#732) 2021-06-05 14:03:38 +08:00
tehcneko c39b294d0f
[app] Fix fragment usage (#727) 2021-06-03 19:51:01 +08:00
LoveSy 9a66cec8b4
[app] Only clear scopes from the same user when check recommended (#726) 2021-06-03 18:35:10 +08:00
tehcneko 9946708dbe
[app] Fix module list (#722) 2021-06-03 03:27:41 +08:00
tehcneko 3c2c39012e
[app] Fix module list (#721) 2021-06-02 14:29:33 +00:00
tehcneko 0f14599222
[app] Fix a crash (#716) 2021-06-01 11:33:11 +08:00
tehcneko 7e23bcbda0
[app] Fix no app selected check (#715) 2021-06-01 11:02:18 +08:00
tehcneko df71d64e9b
[app] Workaround R8 bug (#710) 2021-05-31 11:03:57 +00:00
tehcneko 3803884f49
[app] Fix fragment animation when start from shortcuts (#709) 2021-05-31 18:25:17 +08:00
tehcneko 0a8edb92ab
[app] Navigation fixes (#707)
* [app] Update fragment animation

* [app] Use safe args

* [app] Fix tablet ui
2021-05-31 17:19:54 +08:00
LoveSy c2a276d153
[app] Filter to userid = 0 when userinfo is null (#703) 2021-05-31 11:12:15 +08:00
tehcneko 61db23cb18 [app] Fix possible crashes 2021-05-30 18:30:02 +08:00
tehcneko e91332c2b7 [app] Add missing copyright headers 2021-05-30 18:30:02 +08:00
tehcneko c6a156bf85
[app] Fix module list (#698) 2021-05-30 10:12:08 +00:00
tehcneko ba545bafec
[app] Refactored to use AndroidX Navigation (#697) 2021-05-30 09:33:35 +00:00
tehcneko a6f0e666b8
The great cleanup + fix proguard (#689)
* [app] Fix proguard

* [core] Remove unused proguard rule

Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-05-28 16:42:43 +08:00
LoveSy 4035493602
[app] Show user name (#688) 2021-05-28 15:42:52 +08:00
LoveSy ca80fd9446
[App] Start ACTION_SHOW_APP_INFO from backend (#679)
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-05-25 13:38:04 +00:00
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
tehcneko fe9cec4576
[app] Remake holiday headers (#488) 2021-04-14 17:14:02 +08:00
tehcneko 535c6e1b60
[app] Nuke customized ripple effect (#485)
* [app] Nuke customized ripple effect

* [app] Fix progressbar glitches
2021-04-13 23:05:42 +08:00
tehcneko d6d267d7f6
[app] Fix version in about dialog (#479) 2021-04-12 11:52:32 +00:00
tehcneko 7985af5d16
[app] Fix going back when scope list loading (#478) 2021-04-12 17:32:07 +08:00
LoveSy a384697655
[core] Update JNI helper (#440) 2021-04-01 10:17:39 +00:00
Wang Han 7cea970131
[app] Drop useless getReleases().isEmpty() check (#429)
* Properly fixed with 87f9f2a3b6.
2021-03-30 03:52:05 +00:00
tehcneko 0facfb958a
[app] Remove weatherView (#418) 2021-03-27 11:05:14 +08:00
Wang Han ab26c5334d
[app] Discard modules without releases when filtering (#415)
* Or it will crash when sorted by released time.
2021-03-26 20:59:22 +08:00
LoveSy a30d306a11
[core] Remove useless code (#409)
Since we change the package name, we don't have to hook old manager
which use contants.

Since we have released new stable version, we should prepare for
randomize package name and therefore don't need to fix package name
mismatch.
2021-03-26 04:13:54 +00:00
tehcneko 14f809d62f [core] Update dependencies 2021-03-25 21:52:06 +08:00
tehcneko 25736b2c15 [app] Fix repo 2021-03-25 21:52:06 +08:00
tehcneko 56eae5f5b4
[app] Cleanup file provider paths (#393)
* [app] Cleanup file provider paths

* [app] Remove unused files
2021-03-22 12:49:20 +08:00
tehcneko 408b93f093
[app] Add more checks for play publishing (#390)
* [app] Add more checks for play publishing

* [app] Fix shortcuts
2021-03-21 10:33:56 +00:00
tehcneko 26a4decfeb
[app] Replace alidns with tuna (#381) 2021-03-20 05:19:40 +00:00
Howard Wu 441e82bde0
Manager crash report label minor change (#374) 2021-03-19 17:13:50 +08:00
vvb2060 82a8d87eb1
Downgrade WeatherView (#359) 2021-03-15 13:14:36 +08:00
vvb2060 dd7b73dd22
Remove local aar (#358) 2021-03-15 04:45:58 +00:00
tehcneko d498180c00
[app] Add translators to about dialog (#342) 2021-03-12 10:51:32 +00:00
vvb2060 b4131fd6c4
New packagename (#326) 2021-03-10 17:09:34 +00:00
tehcneko 3325e275f4
[app] Add sepolicy warning (#316) 2021-03-10 04:40:23 +00:00
tehcneko 630147b72c [app] Nuke ui framework check 2021-03-09 22:23:36 +08:00
tehcneko d92de9a392 [app] Update info dialog 2021-03-09 21:08:41 +08:00
tehcneko 46c241b38d [app] Fix receiver name 2021-03-09 18:51:28 +08:00
LoveSy 7d52c215ad
[core] Completely remove SandHook (#293) 2021-03-08 22:50:43 +08:00
tehcneko 370a400abb
[app] Show better tips for repo load failure (#291) 2021-03-08 20:25:42 +08:00
tehcneko 83045a69a7 [core] Fix uninstalling 2021-03-07 16:02:42 +08:00
tehcneko 46c15c0961 [app] Uninstall app with binder 2021-03-07 14:14:38 +08:00