Merge "Add extra for starting wallpaper from launcher" into ub-launcher3-qt-dev

This commit is contained in:
Beth Thibodeau
2019-04-12 18:43:53 +00:00
committed by Android (Google) Code Review

View File

@@ -212,6 +212,8 @@ public class OptionsPopupView extends ArrowPopup
launcher.getWorkspace().getWallpaperOffsetForCenterPage());
if (!existsStyleWallpapers(launcher)) {
intent.putExtra(EXTRA_WALLPAPER_FLAVOR, "wallpaper_only");
} else {
intent.putExtra(EXTRA_WALLPAPER_FLAVOR, "focus_wallpaper");
}
String pickerPackage = launcher.getString(R.string.wallpaper_picker_package);
if (!TextUtils.isEmpty(pickerPackage)) {