diff --git a/README.md b/README.md index 03b3e56c..06def5eb 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## Introduction -A Riru module trying to provide an ART hooking framework (initially for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA hooking framework, supports Android 8.1 ~ **12 Beta 2**. +A Riru module trying to provide an ART hooking framework which delivers consistent APIs with the OG Xposed, leveraging YAHFA hooking framework. > Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations. diff --git a/app/src/main/java/org/lsposed/manager/App.java b/app/src/main/java/org/lsposed/manager/App.java index 2626d114..dc03ab42 100644 --- a/app/src/main/java/org/lsposed/manager/App.java +++ b/app/src/main/java/org/lsposed/manager/App.java @@ -59,8 +59,8 @@ public class App extends Application { static { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { - // TODO: set specific class name instead of `L` - HiddenApiBypass.addHiddenApiExemptions("L"); + // TODO: set specific class name + HiddenApiBypass.addHiddenApiExemptions(""); } } diff --git a/core/src/main/cpp/external/yahfa/src/HookMain.cpp b/core/src/main/cpp/external/yahfa/src/HookMain.cpp index c31cf9a4..3fbe91f0 100644 --- a/core/src/main/cpp/external/yahfa/src/HookMain.cpp +++ b/core/src/main/cpp/external/yahfa/src/HookMain.cpp @@ -149,9 +149,7 @@ namespace yahfa { } uint32_t getAccessFlags(void *art_method) { - return read32((char *) art_method + OFFSET_access_flags_in_ArtMethod); - // On API 29 whether to use the fast path or not is cached in the ART method structure } void setAccessFlags(void *art_method, uint32_t access_flags) {