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

Commit e19b2b74 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/36652729']...

Merge cherrypicks of ['googleplex-android-review.googlesource.com/36652729'] into security-aosp-udc-release.

Change-Id: Id50ede33f8695d65dfeada0972f54335f7c7a8d2
parents cf72487d a48245c5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -215,6 +215,8 @@ public class PickActivity extends BaseActivity implements ActionHandler.Addons {
        final Intent moreApps = new Intent(intent);
        moreApps.setComponent(null);
        moreApps.setPackage(null);
        // Clear the selector to prevent a malicious selector from launching an arbitrary activity.
        moreApps.setSelector(null);
        if (mState.supportsCrossProfile()
                && CrossProfileUtils.getCrossProfileResolveInfo(
                        getPackageManager(), moreApps) != null) {