Skip to content

Commit

Permalink
添加了android15的hook位置
Browse files Browse the repository at this point in the history
  • Loading branch information
kooritea committed Dec 6, 2024
1 parent d619254 commit 020c739
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {
applicationId "com.kooritea.fcmfix"
minSdkVersion 29
targetSdkVersion 34
versionCode 45
versionCode 46
versionName "dev"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/array.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<string-array name="xposed_scope">
<item>android</item>
<item>com.miui.powerkeeper</item>
<!-- <item>com.google.android.gms</item>-->
<!-- <item>com.miui.powerkeeper</item> -->
<!-- <item>com.google.android.gms</item> -->
</string-array>
</resources>

0 comments on commit 020c739

Please sign in to comment.