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

Commit d3afc9f1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes wrong id when granting provider access" into rvc-dev

parents 5688bc3e 5533722b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -7267,10 +7267,8 @@ public class ActivityManagerService extends IActivityManager.Stub
            }
            checkTime(startTime, "getContentProviderImpl: done!");
            grantImplicitAccess(userId, null /*intent*/,
                    UserHandle.getAppId(Binder.getCallingUid()),
                    UserHandle.getAppId(cpi.applicationInfo.uid)
            );
            grantImplicitAccess(userId, null /*intent*/, callingUid,
                    UserHandle.getAppId(cpi.applicationInfo.uid));
        }
        // Wait for the provider to be published...