From bc5d0c3f2b8204b86d74c96a48a51d990648e17b Mon Sep 17 00:00:00 2001 From: kooritea Date: Mon, 22 Apr 2024 10:52:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4BroadcastFix=E5=AF=B9?= =?UTF-8?q?=E5=AE=89=E5=8D=93=E7=89=88=E6=9C=AC=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/kooritea/fcmfix/XposedMain.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/kooritea/fcmfix/XposedMain.java b/app/src/main/java/com/kooritea/fcmfix/XposedMain.java index 75db3f1..fcf5015 100644 --- a/app/src/main/java/com/kooritea/fcmfix/XposedMain.java +++ b/app/src/main/java/com/kooritea/fcmfix/XposedMain.java @@ -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);