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

Commit 9efa4290 authored by Varun Shah's avatar Varun Shah Committed by Android (Google) Code Review
Browse files

Merge "Ensure the process record exists to avoid a NPE." into main

parents 01a49c81 87106648
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -9191,9 +9191,11 @@ public final class ActiveServices {
        } else {
            synchronized (mAm.mPidsSelfLocked) {
                callerApp = mAm.mPidsSelfLocked.get(callingPid);
                if (callerApp != null) {
                    caller = callerApp.getThread();
                }
            }
        }
        if (callerApp == null) {
            throw new SecurityException(
                    "Unable to find app for caller " + caller