Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6159f6eb authored by Olawale Ogunwale's avatar Olawale Ogunwale Committed by Android Git Automerger
Browse files

am 4406568e: Merge "Check caller status precisely when registering receiver."

* commit '4406568e':
  Check caller status precisely when registering receiver.
parents 73b56873 4406568e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -15709,8 +15709,9 @@ public final class ActivityManagerService extends ActivityManagerNative
        }
        synchronized (this) {
            if (callerApp != null && callerApp.pid == 0) {
                // Caller already died
            if (callerApp != null && (callerApp.thread == null
                    || callerApp.thread.asBinder() != caller.asBinder())) {
                // Original caller already died
                return null;
            }
            ReceiverList rl