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

Commit dfb509c5 authored by Adam Cohen's avatar Adam Cohen
Browse files

Clear task when opening WallpaperPicker

-> Each session can reasonably be considered a fresh start
-> Also, works around b/79507056

Change-Id: Iac1ae59cd0c743d71c91a34ba32a0fef51548f74
parent 6ebbf309
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@ public class OptionsPopupView extends ArrowPopup
        Intent intent = new Intent(Intent.ACTION_SET_WALLPAPER)
                .putExtra(EXTRA_WALLPAPER_OFFSET,
                        launcher.getWorkspace().getWallpaperOffsetForCenterPage());
        intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);

        String pickerPackage = launcher.getString(R.string.wallpaper_picker_package);
        if (!TextUtils.isEmpty(pickerPackage)) {