Loading src/com/android/documentsui/picker/PickActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
src/com/android/documentsui/picker/PickActivity.java +2 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading