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

Commit c201a89f authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Fix getContentProviderImpl() permission issue"

parents e2693cb9 a107006d
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -7552,7 +7552,12 @@ public class ActivityManagerService extends IActivityManager.Stub
                // how to test this case.)
                if (cpr.proc.killed && cpr.proc.killedByAm) {
                    checkTime(startTime, "getContentProviderImpl: before appDied (killedByAm)");
                    final long iden = Binder.clearCallingIdentity();
                    try {
                        appDiedLocked(cpr.proc);
                    } finally {
                        Binder.restoreCallingIdentity(iden);
                    }
                    checkTime(startTime, "getContentProviderImpl: after appDied (killedByAm)");
                }
            }