summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2019-11-01 22:36:04 (GMT)
committerBruno Martins <bgcngm@gmail.com>2019-11-22 16:19:16 (GMT)
commit5e7e70989a1aa1262d29d8fdbabc81c7b29837b4 (patch)
treee6af8ac37f41761b518736b5b72cbce468c4f1d4
parent69bef6875b30b608d6761e9b27c56014b2c31566 (diff)
downloadandroid_packages_apps_Trebuchet-5e7e70989a1aa1262d29d8fdbabc81c7b29837b4.zip
android_packages_apps_Trebuchet-5e7e70989a1aa1262d29d8fdbabc81c7b29837b4.tar.gz
android_packages_apps_Trebuchet-5e7e70989a1aa1262d29d8fdbabc81c7b29837b4.tar.bz2
Specify the component name to start the picker
Change-Id: I13d4d088357bee438ac78b632f08cffbac34ad3f
-rw-r--r--src/com/android/launcher3/views/OptionsPopupView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher3/views/OptionsPopupView.java b/src/com/android/launcher3/views/OptionsPopupView.java
index 7062369..4309544 100644
--- a/src/com/android/launcher3/views/OptionsPopupView.java
+++ b/src/com/android/launcher3/views/OptionsPopupView.java
@@ -216,6 +216,9 @@ public class OptionsPopupView extends ArrowPopup
intent.putExtra(EXTRA_WALLPAPER_FLAVOR, "wallpaper_only");
} else {
intent.putExtra(EXTRA_WALLPAPER_FLAVOR, "focus_wallpaper");
+ intent.setComponent(new ComponentName(
+ launcher.getString(R.string.wallpaper_picker_package),
+ "com.android.customization.picker.CustomizationPickerActivity"));
}
String pickerPackage = launcher.getString(R.string.wallpaper_picker_package);
if (!TextUtils.isEmpty(pickerPackage)) {