Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE
Merged-In: I11c236f3901c9faaeb6c702678d330dde8f07f38 Merged-In: I3d784788884f9b80733786dc73d9bb62ffef817b Change-Id: Iabf5075f225933cd03d2d2ac43b9821ecc9fb7c1
This commit is contained in:
@@ -397,6 +397,10 @@ public class SettingsActivity extends SettingsBaseActivity
|
||||
*/
|
||||
public static Intent getTrampolineIntent(Intent intent, String highlightMenuKey) {
|
||||
final Intent detailIntent = new Intent(intent);
|
||||
// Guard against the arbitrary Intent injection.
|
||||
if (detailIntent.getSelector() != null) {
|
||||
detailIntent.setSelector(null);
|
||||
}
|
||||
// It's a deep link intent, SettingsHomepageActivity will set SplitPairRule and start it.
|
||||
final Intent trampolineIntent = new Intent(ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY)
|
||||
.setPackage(Utils.SETTINGS_PACKAGE_NAME)
|
||||
|
Reference in New Issue
Block a user