summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk1
-rw-r--r--AndroidManifest.xml6
-rw-r--r--src/com/android/launcher3/Launcher.java2
3 files changed, 5 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index 3b21fb936..38edafaea 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,7 +31,6 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
LOCAL_STATIC_JAVA_AAR_LIBRARIES := ambientsdk
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
- $(call all-java-files-under, WallpaperPicker/src) \
$(call all-proto-files-under, protos)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res \
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8dbabf28f..3261d43b7 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -142,7 +142,8 @@
android:label="@string/pick_wallpaper"
android:icon="@mipmap/ic_launcher_wallpaper"
android:finishOnCloseSystemDialogs="true"
- android:process=":wallpaper_chooser">
+ android:process=":wallpaper_chooser"
+ android:enabled="false">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
@@ -155,7 +156,8 @@
android:label="@string/crop_wallpaper"
android:icon="@mipmap/ic_launcher_wallpaper"
android:finishOnCloseSystemDialogs="true"
- android:process=":wallpaper_chooser">
+ android:process=":wallpaper_chooser"
+ android:enabled="false">
<intent-filter>
<action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 2eb442ba2..dc115a37d 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -3176,7 +3176,7 @@ public class Launcher extends Activity
*/
protected void onClickWallpaperPicker(View v) {
if (LOGD) Log.d(TAG, "onClickWallpaperPicker");
- startActivityForResult(new Intent(Intent.ACTION_SET_WALLPAPER).setPackage(getPackageName()),
+ startActivityForResult(new Intent(Intent.ACTION_SET_WALLPAPER),
REQUEST_PICK_WALLPAPER);
if (mLauncherCallbacks != null) {