diff --git a/app/build.gradle b/app/build.gradle index e3649e3..7c71999 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,7 +7,7 @@ android { applicationId "com.kooritea.fcmfix" minSdkVersion 29 targetSdkVersion 34 - versionCode 45 + versionCode 46 versionName "dev" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/java/com/kooritea/fcmfix/xposed/BroadcastFix.java b/app/src/main/java/com/kooritea/fcmfix/xposed/BroadcastFix.java index 73c227c..590b498 100644 --- a/app/src/main/java/com/kooritea/fcmfix/xposed/BroadcastFix.java +++ b/app/src/main/java/com/kooritea/fcmfix/xposed/BroadcastFix.java @@ -76,6 +76,9 @@ protected void startHook(){ if(parameters[13].getType() == int.class){ appOp_args_index = 13; } + } else if(Build.VERSION.SDK_INT == 35){ + intent_args_index = 3; + appOp_args_index = 13; } if(intent_args_index == 0 || appOp_args_index == 0){ intent_args_index = 0; diff --git a/app/src/main/res/values/array.xml b/app/src/main/res/values/array.xml index bb1ec8b..21e9283 100644 --- a/app/src/main/res/values/array.xml +++ b/app/src/main/res/values/array.xml @@ -2,7 +2,7 @@ android - com.miui.powerkeeper - + +