mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-24 03:35:50 +01:00
GCM: Do not require receiver permission for target app
This commit is contained in:
parent
ac5f7457bd
commit
74213474b5
@ -555,7 +555,7 @@ public class McsService extends Service implements Handler.Callback {
|
||||
}
|
||||
targetIntent.setComponent(new ComponentName(resolveInfo.activityInfo.packageName, resolveInfo.activityInfo.name));
|
||||
if (resolveInfo.activityInfo.packageName.equals(packageName)) {
|
||||
sendOrderedBroadcast(targetIntent, receiverPermission);
|
||||
sendOrderedBroadcast(targetIntent, null);
|
||||
} else if (receiverPermission != null) {
|
||||
sendOrderedBroadcast(targetIntent, receiverPermission);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user