commit | 96bbfcd386ea1e9af785303b41b24c442ea0158e | [log] [tgz] |
---|---|---|
author | Kunhung Li <kunhungli@google.com> | Mon May 24 12:02:00 2021 +0800 |
committer | Kunhung Li <kunhungli@google.com> | Wed May 26 05:57:37 2021 +0000 |
tree | 432192effe6c1bdb943fb60895bbae38a3a96421 | |
parent | b7dc51db6e8584b83959cbbcf2b0645233035f7d [diff] |
Refine Settings scope Bug: 188631495 Test: manual Change-Id: I29ad3a60c377704ecb0a429bb3bba5c65a9fe4b2
diff --git a/src_overridecustom/com/android/customization/picker/CustomizationPickerActivity.java b/src_overridecustom/com/android/customization/picker/CustomizationPickerActivity.java index f1f1e72..e352879 100644 --- a/src_overridecustom/com/android/customization/picker/CustomizationPickerActivity.java +++ b/src_overridecustom/com/android/customization/picker/CustomizationPickerActivity.java
@@ -516,7 +516,7 @@ return; } - if (!ActivityUtils.isLaunchedFromSettings(getIntent())) { + if (!ActivityUtils.isLaunchedFromSettingsRelated(getIntent())) { Intent intent = new Intent(Settings.ACTION_SETTINGS); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); startActivity(intent);