Skip to content

Commit

Permalink
移除BroadcastFix对安卓版本的判断
Browse files Browse the repository at this point in the history
  • Loading branch information
kooritea committed Apr 22, 2024
1 parent 7e9d08e commit bc5d0c3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/src/main/java/com/kooritea/fcmfix/XposedMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ public void handleLoadPackage(final XC_LoadPackage.LoadPackageParam loadPackageP
return;
}
if(loadPackageParam.packageName.equals("android")){
// Both hooks are no longer required in Android 14
if (Build.VERSION.SDK_INT < 34) {
XposedBridge.log("[fcmfix] start hook com.android.server.am.ActivityManagerService");
new BroadcastFix(loadPackageParam);
}

XposedBridge.log("[fcmfix] start hook com.android.server.am.ActivityManagerService");
new BroadcastFix(loadPackageParam);

XposedBridge.log("[fcmfix] start hook com.android.server.notification.NotificationManagerServiceInjector");
new MiuiLocalNotificationFix(loadPackageParam);
Expand Down

0 comments on commit bc5d0c3

Please sign in to comment.