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

Commit a107006d authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Fix getContentProviderImpl() permission issue

Change-Id: Ia35a9d36a34257873edbdcaefcf85d2373f3295e
Fixes: 117332394
Test: boot, launch the contacts app to let it touch providers
parent 9f9c47db
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -7650,7 +7650,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)");
                }
            }