We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0024ac7 commit 175c73cCopy full SHA for 175c73c
1 file changed
app/src/main/java/com/kooritea/fcmfix/xposed/BroadcastFix.java
@@ -137,7 +137,8 @@ protected void beforeHookedMethod(MethodHookParam methodHookParam) {
137
return;
138
}
139
Intent intent = (Intent) methodHookParam.args[finalIntent_args_index];
140
- if(intent.getFlags() != Intent.FLAG_INCLUDE_STOPPED_PACKAGES && isFCMIntent(intent)){
+ // 介入条件:Intent未包含唤醒停止的pkg 且 Intent是FCM
141
+ if((intent.getFlags() & Intent.FLAG_INCLUDE_STOPPED_PACKAGES) == 0 && isFCMIntent(intent)){
142
String target;
143
if (intent.getComponent() != null) {
144
target = intent.getComponent().getPackageName();
0 commit comments