Commit Graph

301 Commits

Author SHA1 Message Date
vvb2060 7528db79fe
[app] Update strings (#909) 2021-08-16 01:13:55 +08:00
vvb2060 50de490d3e
[app] Update strings (#908) 2021-08-16 01:00:23 +08:00
Howard Wu bb558d8152
[app] Simplify sort menu (#905) 2021-08-15 22:35:57 +08:00
vvb2060 ba701b0435
Check old version Manager (#886) 2021-08-11 18:12:51 +00:00
LoveSy 09e50460cd
[core] Dispatch uninstall event to manager as well (#884) 2021-08-11 18:51:27 +08:00
vvb2060 00e8c69ad1
Misc changes (#882) 2021-08-11 12:45:29 +08:00
Howard Wu bf969cfc5f
[app] Fix the tabLayout style of the repository item fragment (#883)
The repository item fragment and modules fragment use the same layout file, the previous commit missed this.
The changes in fragment_pager.xml are just formatting code.
2021-08-11 02:24:27 +00:00
Howard Wu 7481f04947
[app] Keep Instances (#881) 2021-08-11 03:48:02 +08:00
Howard Wu b7ee496016
[app] Set tabLayout scrollable (#880) 2021-08-11 01:16:24 +08:00
vvb2060 388921323c
[app] Make lint happy (#869) 2021-08-07 13:58:45 +00:00
vvb2060 ca91e87aeb
Clean code (#863) 2021-08-07 10:10:34 +08:00
vvb2060 389843c508
[app] Fix registerForActivityResult (#861) 2021-08-06 16:46:28 +00:00
LoveSy e914bc32fd
[app] Fix app list of new modules (#854) 2021-08-06 14:00:52 +00:00
vvb2060 8e156c7958
[app] Simplify code (#844) 2021-08-06 02:27:15 +00:00
vvb2060 a8e094a612
[app] Fix first launch will show need to update (#843) 2021-08-05 15:13:59 +00:00
Wang Han 5f250e860c
[skip ci] Misc changes (#830) 2021-07-25 05:42:32 +00:00
vvb2060 d8ded9dc79
[app] Fix app icon (#824) 2021-07-19 08:18:22 +08:00
vvb2060 e39a6d10bd
[app] New icon (#819) 2021-07-18 13:02:44 +00:00
LoveSy 14e084e1c9
[app] Fix crash of RepoItemFrag when module not found (#806)
* [app] Fix crash of RepoItemFrag when module not found

* Fix popup

* Fix tablet
2021-07-07 03:49:02 +00:00
LoveSy 8bb287ae08 [app] onAttach onDetach for repoloader as well 2021-07-03 15:13:49 +08:00
LoveSy 93e7fdc761
[app] Fix crash when repoLoaded is called (#799) 2021-07-02 10:56:37 +00:00
LoveSy 1fd4065186
[app] Fix CalledFromWrongThreadException (#796) 2021-07-01 06:34:34 +00:00
LoveSy babf49153b
[app] Use jsdeliver as fallback for repo (#789) 2021-06-30 02:21:08 +00:00
LoveSy 129249b797
[app] Check modules' update (#778) 2021-06-26 03:15:01 +08:00
LoveSy da3e026760
[app] Fix clampedY (#777)
* [app] Fix clampedY

* zoom 80%
2021-06-25 10:04:46 +00:00
vvb2060 2d907cb911
[app] Scroll WebView (#776) 2021-06-25 17:25:25 +08:00
vvb2060 aed23f65e8
Add markdown css (#775) 2021-06-25 11:02:21 +08:00
LoveSy c38c280dab
[app] Use `ReadmeHTML` (#772) 2021-06-24 20:54:17 +08:00
vvb2060 c61ad996db
[app] Check version code (#771) 2021-06-24 15:58:59 +08:00
vvb2060 612c39d325
[app] Check update (#768) 2021-06-23 20:20:11 +00:00
LoveSy 1eebbca320
[app] Nuke markown (#767) 2021-06-24 03:01:21 +08:00
Wang Han 2b593be1d5
App (#752)
* [app] Fix popup

* [app] Don't actually need to set binding to null
2021-06-19 19:14:31 +08:00
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