Merge "Use caller's user id for recent caller info" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
deb3b21eb3
@@ -3039,7 +3039,7 @@ public final class ActiveServices {
|
||||
try {
|
||||
r.mRecentCallerApplicationInfo =
|
||||
mAm.mContext.getPackageManager().getApplicationInfoAsUser(callingPackage,
|
||||
0, userId);
|
||||
0, UserHandle.getUserId(callingUid));
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
}
|
||||
if (!mAm.validateAssociationAllowedLocked(callingPackage, callingUid, r.packageName,
|
||||
|
||||
Reference in New Issue
Block a user