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

Commit 9358dcca authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Maybe fix issue #12957738: SecurityException in...

...Multiple Processes: uid 10069 does not have
android.permission.UPDATE_DEVICE_STATS.

Change-Id: Ibabb5b09d52412df8bebdc85a584f89e175b1ec5
parent eaddb849
Loading
Loading
Loading
Loading
+20 −15
Original line number Diff line number Diff line
@@ -7755,6 +7755,8 @@ public final class ActivityManagerService extends ActivityManagerNative
     */
    public void removeContentProvider(IBinder connection, boolean stable) {
        enforceNotIsolatedCaller("removeContentProvider");
        long ident = Binder.clearCallingIdentity();
        try {
            synchronized (this) {
                ContentProviderConnection conn;
                try {
@@ -7772,6 +7774,9 @@ public final class ActivityManagerService extends ActivityManagerNative
                    updateOomAdjLocked();
                }
            }
        } finally {
            Binder.restoreCallingIdentity(ident);
        }
    }
    public void removeContentProviderExternal(String name, IBinder token) {