summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
diff options
context:
space:
mode:
authormyfluxi <linflux@arcor.de>2016-01-12 19:28:12 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-01-12 19:45:04 (GMT)
commit4eaa0a55f486892baa328d2d7bedf9a486e34043 (patch)
tree731f1e23ef76fa0842c4ed86f331dab54a136e1b /WallpaperPicker
parentb0c1a0d0cf52d826e6c6edef515363fdb3c85db5 (diff)
downloadandroid_packages_apps_Trebuchet-4eaa0a55f486892baa328d2d7bedf9a486e34043.zip
android_packages_apps_Trebuchet-4eaa0a55f486892baa328d2d7bedf9a486e34043.tar.gz
android_packages_apps_Trebuchet-4eaa0a55f486892baa328d2d7bedf9a486e34043.tar.bz2
Trebuchet: Fix resource not found exception when picking a wallpaper
Select a picture from Gallery, set as wallpaper, crash. Change-Id: I4c23b9523d36f51bdd1cff2858f2ece08fd4cc84
Diffstat (limited to 'WallpaperPicker')
-rw-r--r--WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java
index f2459dd..4aa51db 100644
--- a/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java
+++ b/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java
@@ -292,7 +292,7 @@ public class WallpaperCropActivity extends BaseActivity implements Handler.Callb
public boolean enableRotation() {
- return getResources().getBoolean(R.bool.allow_rotation);
+ return getResources().getBoolean(R.bool.preferences_interface_allow_rotation);
}
protected void setWallpaper(Uri uri, final boolean finishActivityWhenDone) {