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

Commit fe939916 authored by Tony Mak's avatar Tony Mak Committed by Android (Google) Code Review
Browse files

Merge "Fix personal apps are not shown when tapping "personal" in activity chooser" into nyc-dev

parents ca67844e 53ec2b61
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
            }
        }