Merge "Fixes wrong id when granting provider access" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d3afc9f1d9
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user