summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyfluxi <linflux@arcor.de>2016-01-12 20:28:12 +0100
committerTom Powell <zifnab@zifnab06.net>2017-03-26 16:14:44 -0700
commit7990b17ce96afb8c14229389fa6f0dd67c5b1eab (patch)
tree76e54e3955bc70265eedd1b0662cadcdfc6fa1bf
parente95dc56aff18520cb890122eb920d6cb9045c6fe (diff)
downloadandroid_packages_apps_Trebuchet-7990b17ce96afb8c14229389fa6f0dd67c5b1eab.zip
android_packages_apps_Trebuchet-7990b17ce96afb8c14229389fa6f0dd67c5b1eab.tar.gz
android_packages_apps_Trebuchet-7990b17ce96afb8c14229389fa6f0dd67c5b1eab.tar.bz2
Trebuchet: Fix resource not found exception when picking a wallpaper
Select a picture from Gallery, set as wallpaper, crash. Change-Id: I4c23b9523d36f51bdd1cff2858f2ece08fd4cc84
-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) {