Loading services/core/java/com/android/server/am/ActivityManagerService.java +3 −1 Original line number Diff line number Diff line Loading @@ -12798,7 +12798,7 @@ public class ActivityManagerService extends IActivityManager.Stub noAction.add(null); actions = noAction.iterator(); } boolean onlyProtectedBroadcasts = actions.hasNext(); boolean onlyProtectedBroadcasts = true; // Collect stickies of users and check if broadcast is only registered for protected // broadcasts Loading Loading @@ -12872,6 +12872,8 @@ public class ActivityManagerService extends IActivityManager.Stub // Change is not enabled, thus not targeting T+. Assume exported. flags |= Context.RECEIVER_EXPORTED; } } else if ((flags & Context.RECEIVER_NOT_EXPORTED) == 0) { flags |= Context.RECEIVER_EXPORTED; } } services/core/java/com/android/server/am/BroadcastQueue.java +1 −1 Original line number Diff line number Diff line Loading @@ -870,7 +870,7 @@ public final class BroadcastQueue { + " due to receiver " + filter.receiverList.app + " (uid " + filter.receiverList.uid + ")" + " not specifying RECEIVER_EXPORTED"); // skip = true; skip = true; } if (skip) { Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +3 −1 Original line number Diff line number Diff line Loading @@ -12798,7 +12798,7 @@ public class ActivityManagerService extends IActivityManager.Stub noAction.add(null); actions = noAction.iterator(); } boolean onlyProtectedBroadcasts = actions.hasNext(); boolean onlyProtectedBroadcasts = true; // Collect stickies of users and check if broadcast is only registered for protected // broadcasts Loading Loading @@ -12872,6 +12872,8 @@ public class ActivityManagerService extends IActivityManager.Stub // Change is not enabled, thus not targeting T+. Assume exported. flags |= Context.RECEIVER_EXPORTED; } } else if ((flags & Context.RECEIVER_NOT_EXPORTED) == 0) { flags |= Context.RECEIVER_EXPORTED; } }
services/core/java/com/android/server/am/BroadcastQueue.java +1 −1 Original line number Diff line number Diff line Loading @@ -870,7 +870,7 @@ public final class BroadcastQueue { + " due to receiver " + filter.receiverList.app + " (uid " + filter.receiverList.uid + ")" + " not specifying RECEIVER_EXPORTED"); // skip = true; skip = true; } if (skip) { Loading