Merge "Fix personal apps are not shown when tapping "personal" in activity chooser" into nyc-dev
This commit is contained in:
@ -5001,8 +5001,9 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
// cross-profile app linking works only towards the parent.
|
||||
final UserInfo parent = getProfileParent(sourceUserId);
|
||||
synchronized(mPackages) {
|
||||
int flags = updateFlagsForResolve(0, parent.id, intent);
|
||||
CrossProfileDomainInfo xpDomainInfo = getCrossProfileDomainPreferredLpr(
|
||||
intent, resolvedType, 0, sourceUserId, parent.id);
|
||||
intent, resolvedType, flags, sourceUserId, parent.id);
|
||||
return xpDomainInfo != null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user