summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Mast <andy@cyngn.com>2014-11-13 23:44:11 (GMT)
committerAndy Mast <andy@cyngn.com>2014-11-16 19:01:21 (GMT)
commit4c0d7ee35090e24478ce59c13f6a482bfa785f0e (patch)
treea6c7a94eff26dc31e119a793f24701d003723e9a
parent98fc569c5a2655168e1570fd7cb5a4f08cca3672 (diff)
downloadandroid_packages_apps_Trebuchet-4c0d7ee35090e24478ce59c13f6a482bfa785f0e.zip
android_packages_apps_Trebuchet-4c0d7ee35090e24478ce59c13f6a482bfa785f0e.tar.gz
android_packages_apps_Trebuchet-4c0d7ee35090e24478ce59c13f6a482bfa785f0e.tar.bz2
Fix task behavior for ThemeChooser [2/3]
Change-Id: I3275459383ce2888273d065ac5cac345dccbefbf
-rw-r--r--src/com/android/launcher3/Launcher.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 1eb918c..edfcc6c 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -1340,7 +1340,8 @@ public class Launcher extends Activity
protected void startThemeSettings() {
Intent chooser = new Intent(Intent.ACTION_MAIN)
.addCategory(OverviewSettingsPanel.THEME_CHOOSER_CATEGORY)
- .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
+ .addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
try {
startActivity(chooser);
} catch (ActivityNotFoundException e) {