Commit Graph

266 Commits

Author SHA1 Message Date
LoveSy 8cb547c3ed
[skip ci] Revert "Let AGP to strip native libs" (#2498)
Reverts LSPosed/LSPosed#2496
2023-04-17 09:16:29 +08:00
LoveSy d8b7916ce0
Let AGP to strip native libs (#2496) 2023-04-16 14:10:12 +08:00
LoveSy b277416c1d
Upgrade AGP 2023-04-15 23:01:08 +08:00
LoveSy f887d0116c
Upgrade gradle (#2487) 2023-04-12 16:46:09 +00:00
XposedBot 81edbdc117
[translation] Update translation from Crowdin (#2488) 2023-04-13 00:36:05 +08:00
Wang Han 9f6369cc9e
Fix NPE due to null getModule() return value 2023-04-05 20:23:30 +08:00
浅秋枫影 677ee95b2b
fix android 13+ secret_code (#2455)
see
https://developer.android.google.cn/reference/android/content/Context#RECEIVER_NOT_EXPORTED

---------

Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-03-23 03:10:42 +08:00
XposedBot 40e65fb43c
[translation] Update translation from Crowdin (#2451) 2023-03-22 20:00:03 +08:00
LoveSy 03d2cea093
Use source dependencies instead of mavenLocal (#2445) 2023-03-21 11:45:26 +08:00
XposedBot 8584aec718
[translation] Update translation from Crowdin (#2438) 2023-03-14 10:05:03 +08:00
LoveSy af1223e4a5
Fix notification intent for Android 14 DP2 (#2435) 2023-03-09 09:30:53 +00:00
Howard Wu 17e1fe3172
Call system service to reboot (#2425) 2023-03-07 00:40:02 +08:00
Howard Wu 0709f10f59
Enable Xposed API call protection by default (#2423) 2023-03-06 13:18:38 +00:00
LoveSy 516a4aa99d
Fix module loading (#2418) 2023-03-05 20:37:21 +08:00
南宫雪珊 9dfa88fa24
Initially trigger an event (#2402) 2023-02-27 16:22:40 +08:00
LoveSy 6751b7350f
Check module configuration (#2403)
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2023-02-27 11:43:37 +08:00
Howard Wu c7f39e0e5d
Cleanup (#2404) 2023-02-26 17:23:09 +00:00
LoveSy d7c7069114 No metadata required for modern modules 2023-02-26 16:48:49 +08:00
LoveSy b069da0323 Refine gradle scripts 2023-02-26 16:48:49 +08:00
LoveSy 559f2860dd Fix native method registration 2023-02-26 16:48:49 +08:00
LoveSy d671dc535e enable configuration cache 2023-02-26 16:48:49 +08:00
LoveSy f19950adda Notify module if request scope fails to send notification 2023-02-26 16:48:49 +08:00
Nullptr 295b0ee0ce Change xposed_init -> java_init.list, add xposedtargetversion 2023-02-26 16:48:49 +08:00
Nullptr 7d2c599e96 Implement block scope request 2023-02-26 16:48:49 +08:00
LoveSy 73a98d6b9d Add block scope request to configManager 2023-02-26 16:48:49 +08:00
LoveSy 403791a25e Only send binder to non-legacy module 2023-02-26 16:48:49 +08:00
LoveSy 3209433766 Use gradle dependencies 2023-02-26 16:48:49 +08:00
Nullptr 53fec857a0 Clear uid set on registerUidObserver 2023-02-26 16:48:49 +08:00
LoveSy ae5f8a70ae Refine codes 2023-02-26 16:48:49 +08:00
LoveSy 4768d6cba4 Fix files context 2023-02-26 16:48:49 +08:00
LoveSy 4c3f8d95db Correct module remote file implementation 2023-02-26 16:48:49 +08:00
LoveSy d429e51900 Support list files 2023-02-26 16:48:49 +08:00
LoveSy 3db7dba439 change usingContext -> legacy 2023-02-26 16:48:49 +08:00
Nullptr 516f9e35db Add getFrameworkPrivilege and featuredMethod 2023-02-26 16:48:49 +08:00
Nullptr ad463ac1e0 Fix notification 2023-02-26 16:48:49 +08:00
Nullptr b83c0f4169 Fix module service not constructed 2023-02-26 16:48:49 +08:00
LoveSy 9e360ea07e Simplify never ask 2023-02-26 16:48:49 +08:00
LoveSy 89d255d18a Implement scope interfaces 2023-02-26 16:48:49 +08:00
LoveSy 9abf3f2b16 More implementation 2023-02-26 16:48:49 +08:00
LoveSy 87db036fdf Implement RemotePreferences edit 2023-02-26 16:48:49 +08:00
Nullptr d9b3263077 Refine get version interface 2023-02-26 16:48:49 +08:00
LoveSy 55f1860e71 Fix 2023-02-26 16:48:49 +08:00
LoveSy ffc20e2e72 Add more module service interfaces 2023-02-26 16:48:49 +08:00
LoveSy acaf40ca44 Service for each module 2023-02-26 16:48:49 +08:00
Nullptr 89f80098bb Move service interface 2023-02-26 16:48:49 +08:00
Nullptr ed3612570c Fix getModuleApkPath 2023-02-26 16:48:49 +08:00
Nullptr fb0ceca588 Implement module service 2023-02-26 16:48:49 +08:00
Nullptr d29a3bf16e Fix system_server module load 2023-02-26 16:48:49 +08:00
Nullptr 050438e31f Make IRemotePreferenceCallback internal 2023-02-26 16:48:49 +08:00
Nullptr 4137282af9 Implement RemotePreference on hookee side 2023-02-26 16:48:49 +08:00
LoveSy 14f31b604a Load module context 2023-02-26 16:48:49 +08:00
LoveSy a2be0bd030 Load entries from META-INF/xposed 2023-02-26 16:48:49 +08:00
LoveSy a01afb3a6c Additional application info for modules 2023-02-26 16:48:49 +08:00
Howard Wu 9b1907adfc
Annotation Nullable (#2394) 2023-02-24 11:31:27 +08:00
南宫雪珊 3d11c2f0f7
Make dex2oat wrapper more compatible (#2372) 2023-02-19 21:24:54 +08:00
南宫雪珊 e7c36afeb0
Fix duplicate broadcasts (#2373) 2023-02-08 06:42:13 +08:00
LoveSy ebf5bba4d8
Fix notification on samsung (#2356)
```java
try {
    this.mSystemUIContext = context.createPackageContext(AudioConstants.SYSTEMUI_PACKAGE_NAME, 0);
} catch (PackageManager.NameNotFoundException e) {
} catch (SecurityException e2) {
}
```
2023-01-24 18:26:52 +00:00
LibXZR 5ea3db130c
Skip new launch when the previous one is still pending (#2347)
Fixes #2346

Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-01-19 02:03:35 +08:00
Nullptr 7826b68645
Fix webview permission (#2334)
#2328
2023-01-16 12:47:57 +08:00
XposedBot 4277622fac
[translation] Update translation from Crowdin (#2322) 2023-01-15 09:38:17 +00:00
Nullptr 0969a25816
Fix dex2oat fallback (#2320) 2023-01-15 06:22:49 +00:00
XposedBot 583a5a541d
[translation] Update translation from Crowdin (#2290) 2022-12-09 19:35:33 +00:00
XposedBot 2294fc8c34
[translation] Update translation from Crowdin (#2281) 2022-12-06 11:07:47 +08:00
南宫雪珊 86d4722f80
Set opPkg to settings for android 9- (#2277) 2022-12-05 22:21:50 +08:00
vvb2060 26dd523fa0 Local get launch intent 2022-12-05 01:05:18 +08:00
vvb2060 ff35b9dc11 Fix system warning 2022-12-05 01:05:18 +08:00
vvb2060 377c8af3c7 Add receivers log 2022-12-05 01:05:18 +08:00
XposedBot 99cb46606f
[translation] Update translation from Crowdin (#2268) 2022-12-04 02:30:14 +08:00
vvb2060 d1ea380898 Support config change 2022-12-03 17:21:57 +08:00
vvb2060 2aec14482b Add notification to open app 2022-12-03 17:21:57 +08:00
vvb2060 4669e3677a Do not hardcode service names 2022-12-03 17:21:57 +08:00
vvb2060 0a26993039 Stop seteuid to 1000
#1872
2022-12-03 17:21:57 +08:00
vvb2060 e8cce7a88e Update version check 2022-12-03 17:21:57 +08:00
vvb2060 323fb7a501 Delete signature verification log 2022-12-03 17:21:57 +08:00
Howard Wu 6b70b624e3
Set the dex2oat wrapper owner and group to `root:shell` (#2248) 2022-11-27 00:12:05 +08:00
Howard Wu 6ee21618a6
Fix CrashReportActivity theme (#2226) 2022-11-12 22:18:54 +08:00
XposedBot a0476c7beb
[translation] Update translation from Crowdin (#2220) 2022-11-11 12:48:31 +00:00
XposedBot 4665c75998
[translation] Update translation from Crowdin (#2201) 2022-10-31 20:11:18 +08:00
XposedBot 57c3b42a88
[translation] Update translation from Crowdin (#2194) 2022-10-26 09:43:47 +00:00
LoveSy 82bc5cab0d
Update deps (#2170) 2022-10-13 16:54:25 +00:00
Howard Wu 86fd75ab7a
Clear application profile data before perform dexOpt (#2141) 2022-09-26 10:01:26 +08:00
5ec1cff 135a7d69f8
Avoid calling `finishReceiver` for unordered broadcasts (#2139) 2022-09-25 16:07:55 +08:00
LoveSy 811d3e49c1
Refine codes (#2122) 2022-09-15 10:18:27 +08:00
XposedBot 85b54dc64f
[translation] Update translation from Crowdin (#2113) 2022-09-14 06:29:56 +00:00
LoveSy 8f8eb73a69
Fix broadcastIntentWithFeature on Android S with newer patch (#2111) 2022-09-14 10:52:52 +08:00
XposedBot ba3581a9c0
[translation] Update translation from Crowdin (#2106) 2022-09-12 11:25:04 +00:00
XposedBot bfdba4c7aa
[translation] Update translation from Crowdin (#2066) 2022-08-09 06:58:36 +00:00
LoveSy 1b3b838760
Fix broadcast on SDK 32 (#2065) 2022-08-08 13:45:58 +00:00
LoveSy 02f09247ae
Use striped so for debug build (#2047) 2022-07-25 00:33:00 +08:00
LoveSy 666e8780c7
Update deps (#2016) 2022-06-30 16:43:40 +08:00
LoveSy 307b88f1d6
Use `absl::flat_hash_map` instead (#2001) 2022-06-29 02:21:39 +08:00
LoveSy 5ea6dffcbf
Replace corruption handler of DB (#1982) 2022-06-09 07:09:31 +00:00
Fankesyooni c10d4dd837
Fix: "cancelNotificationWithTag" method difference when API below 30 (#1975) 2022-06-06 08:28:07 +00:00
XposedBot 9d3f9cfdc7
[translation] Update translation from Crowdin (#1970) 2022-06-02 06:48:38 +00:00
南宫雪珊 cbd19d17a8
Revert "Fix resource hook on MediaTek" (#1954)
MTK has fixed this issue, for devices that have not been updated,
can use `resetprop ro.vendor.pref_scale_enable_cfg 0`
2022-05-19 09:08:12 +00:00
南宫雪珊 8febd8cc7a
Fix resource hook on MediaTek (#1951) 2022-05-19 04:57:35 +08:00
Andrew Gunnerson 793c5c955a
LSPManagerService: Change SELinux label of entire cache directory (#1933) (#1944)
With webview on Android 13 Beta (at least on Google Pixel devices),
webview expects to be able to read from a randomly generated temp directory:

    /data/user/0/com.android.shell/cache/.com.google.Chrome.XXXXXX (deleted)

Before this change, the root of the cache directory is labeled with
`shell_data_file` and `Chrome_ChildIOT` is not permitted read access to
the temp directory:

    05-12 10:59:48.728 13692 13692 W Chrome_ChildIOT: type=1400 audit(0.0:258): avc: denied { read } for path=2F646174612F757365722F302F636F6D2E616E64726F69642E7368656C6C2F63616368652F2E636F6D2E676F6F676C652E4368726F6D652E5965394D6433202864656C6574656429 dev="dm-47" ino=230834 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=0
2022-05-16 06:57:27 +08:00
LoveSy e3b96ebb92
Update AGP (#1941) 2022-05-15 14:08:08 +08:00
南宫雪珊 b392f331c8
Replace ParceledListSlice with ParcelableListSlice (#1936) 2022-05-14 23:06:18 +08:00
南宫雪珊 2f0de5b7f3
Fix save log (#1932) 2022-05-11 09:38:39 +00:00