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

Commit 70e19271 authored by Andy Mast's avatar Andy Mast Committed by Gerrit Code Review
Browse files

Fix task behavior for ThemeChooser [3/3]

Change-Id: I3608d06521b650d40df1d32f6d2cce1376830a58
parent 6087ac3f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1272,8 +1272,7 @@ public class Settings extends PreferenceActivity
        // Launch the theme chooser if it supports the cyngn.intent.category.APP_THEMES category.
        if (header.id == R.id.theme_settings) {
            Intent intent = new Intent(Intent.ACTION_MAIN)
                    .addCategory(THEME_CHOOSER_CATEGORY)
                    .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                    .addCategory(THEME_CHOOSER_CATEGORY);
            try {
                startActivity(intent);
                return;