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

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

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

Merge cherrypicks of ['googleplex-android-review.googlesource.com/36653768'] into security-aosp-24Q3-release.

Change-Id: I11228e500830cc41e43f82903087d82a47bb8642
parents 979a831a 15f898d5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -230,6 +230,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) {
            if (mConfigStore.isPrivateSpaceInDocsUIEnabled() && SdkLevel.isAtLeastS()) {
                mState.canForwardToProfileIdMap = mUserManagerState.getCanForwardToProfileIdMap(