Commit Graph

1573 Commits

Author SHA1 Message Date
LoveSy 7e6c230494
[core] Unblock receiver by calling finish receiver (#685) 2021-05-26 18:37:22 +00:00
LoveSy 18c7f60171
[core] Fix compatibility with 8.1 (#683) 2021-05-26 23:09:26 +08:00
LoveSy c741133b67
[core] Delay kill ppid (#682)
* Delay kill ppid

* remove useless nohup

* Exit when received uncaught exception
2021-05-26 10:56:09 +00: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
LoveSy d67b34fd16
[core] Remove RiruHook (#677)
* First, dex2oat flags are not read by zygote and its
   child but installd so hooking it with Riru does nothing.
 * Second, we do not set native flag for methods so
   we don't need to handle the Oreo special case.
2021-05-25 08:49:30 +00:00
LoveSy 106aea6da8
[core] Fix #674 (#675) 2021-05-25 15:50:57 +08:00
Wang Han 4ad1d95915
[core] Drop useless hook for Huawei (#673)
* We don't force recompilation of pre-optimized
   APKs now so this is useless and does not even
   work as performDexOpt() hook was removed.
2021-05-25 05:07:09 +00:00
vvb2060 7403a17b82
Make AS happy (#672)
* Suppress error

* Register data binding generated files
2021-05-25 11:03:01 +08:00
vvb2060 6034d97e17
[core] Fix version code (#671) 2021-05-24 18:25:32 +00:00
LoveSy 550eacfccb
[core] Fix deamon name & fix daemon exit (#668) 2021-05-24 16:37:55 +00:00
Rom 1e31479d20
Update French translation (#667) 2021-05-24 13:16:29 +00:00
LoveSy 21d05486df
[core] Remove reflection hook (#666)
We previously hook reflection because we want only the hooker class
to have the privilege to access the backup method. However, we now
found that the backup method is a private copy and cannot be accessed
by outer classes, so we remove the relection hook for efficiency.
2021-05-24 08:34:22 +08:00
Wang Han bf63d97fb6
[core] Consolidate MIUI check (#663) 2021-05-23 17:05:24 +08:00
LoveSy 136be666ab
Bump new ver (#662) 2021-05-23 07:35:32 +00:00
Wang Han b98979d69b [core] Optimize imports 2021-05-23 14:34:13 +08:00
Wang Han 29d673e3fa [core] Move ModuleLogger to util package
* It has nothing to do with native now.
2021-05-23 14:34:13 +08: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
Wang Han c3cc4b2b5c
[core] Remove API level check for inline hook (#660) 2021-05-23 05:04:08 +00: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
LoveSy 7f83efb2d5
[core] No longer trust testonly manager (#656) 2021-05-22 21:36:12 +08: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
LoveSy c9d93b9b47
[core] Also compile when Readme changed (#654) 2021-05-22 13:04:41 +00:00
tehcneko 0a452b7f3d
[app] Fix app filter (#653) 2021-05-22 20:17:23 +08:00
Wang Han 37dd63be81
[core] Correct process name for android in module log (#651)
* It can only be NULL for system_server.
2021-05-22 19:13:46 +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
LoveSy 636c1ae603
Update build.gradle.kts (#649) 2021-05-22 03:55:32 +00:00
Wang Han d853be4367 [core] Honor `remove` flag for incompatible modules 2021-05-21 21:26:52 +08:00
RikkaW d85ef90275 Refuse to install if Riru is disabled or will be removed 2021-05-21 21:26:52 +08:00
RikkaW 7e6a0b81a3 Fix check Riru 2021-05-21 21:26:52 +08: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
tehcneko 15775da810 [core] Add queryIntentActivities and startActivityAsUserWithFeature 2021-05-21 16:45:40 +08:00
tehcneko a07239eeb1 [core] Check if MIUI 2021-05-21 12:45:34 +08:00
LoveSy 3600359b33 [core] Extend modules' scope for themselves to all users 2021-05-21 12:45:34 +08:00
LoveSy 9d417fa6cf Load module together with package name 2021-05-21 12:45:34 +08:00
tehcneko 2eefe094d9 Add startActivityAsUser 2021-05-21 12:45:34 +08:00
tehcneko 8a3373bfc3 Add startActivity 2021-05-21 12:45:34 +08:00
LoveSy 384681bbb8 [core] Prevent MIUI dual remove packages 2021-05-21 12:45:34 +08:00
LoveSy 4e40cf9802 [core] Send IApplicationThread to daemon 2021-05-21 12:45:34 +08:00
VD $ VD171 @ Priv8 97190be928
[Missing] Update Portuguese Translation by VD171 (#640) 2021-05-20 20:57:15 +08:00
VD $ VD171 @ Priv8 5578074633
Update Portuguese Translation by VD171 (#639) 2021-05-20 20:40:41 +08:00
tehcneko a5c1397516
Update dependencies (#638) 2021-05-20 11:36:29 +00: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