mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-27 13:43:00 +00:00
GCM: Do not require receiver permission for target app
This commit is contained in:
parent
ac5f7457bd
commit
74213474b5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue