Loading services/core/java/com/android/server/pm/PackageManagerService.java +5 −2 Original line number Diff line number Diff line Loading @@ -4431,8 +4431,11 @@ public class PackageManagerService extends IPackageManager.Stub { // cross-profile app linking works only towards the parent. final UserInfo parent = getProfileParent(sourceUserId); synchronized(mPackages) { return getCrossProfileDomainPreferredLpr(intent, resolvedType, 0, sourceUserId, parent.id) != null; CrossProfileDomainInfo xpDomainInfo = getCrossProfileDomainPreferredLpr( intent, resolvedType, 0, sourceUserId, parent.id); return xpDomainInfo != null && xpDomainInfo.bestDomainVerificationStatus != INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER; } } return false; Loading Loading
services/core/java/com/android/server/pm/PackageManagerService.java +5 −2 Original line number Diff line number Diff line Loading @@ -4431,8 +4431,11 @@ public class PackageManagerService extends IPackageManager.Stub { // cross-profile app linking works only towards the parent. final UserInfo parent = getProfileParent(sourceUserId); synchronized(mPackages) { return getCrossProfileDomainPreferredLpr(intent, resolvedType, 0, sourceUserId, parent.id) != null; CrossProfileDomainInfo xpDomainInfo = getCrossProfileDomainPreferredLpr( intent, resolvedType, 0, sourceUserId, parent.id); return xpDomainInfo != null && xpDomainInfo.bestDomainVerificationStatus != INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER; } } return false; Loading