Launch WallpaperPicker in a new task am: 8bed8d3454

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11862433

Change-Id: I074094686a8fabb286573dcc3329b706dd038635
diff --git a/src/com/android/settings/display/WallpaperPreferenceController.java b/src/com/android/settings/display/WallpaperPreferenceController.java
index b6af9bc..2e7e101 100644
--- a/src/com/android/settings/display/WallpaperPreferenceController.java
+++ b/src/com/android/settings/display/WallpaperPreferenceController.java
@@ -92,7 +92,8 @@
     @Override
     public boolean handlePreferenceTreeClick(Preference preference) {
         if (getPreferenceKey().equals(preference.getKey())) {
-            preference.getContext().startActivity(new Intent().setComponent(getComponentName()));
+            preference.getContext().startActivity(new Intent().setComponent(getComponentName())
+                    .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
             return true;
         }
         return super.handlePreferenceTreeClick(preference);