OSDN Git Service

Trebuchet: Fix resource not found exception when picking a wallpaper
authormyfluxi <linflux@arcor.de>
Tue, 12 Jan 2016 19:28:12 +0000 (20:28 +0100)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 12 Jan 2016 19:45:04 +0000 (11:45 -0800)
Select a picture from Gallery, set as wallpaper, crash.

Change-Id: I4c23b9523d36f51bdd1cff2858f2ece08fd4cc84

WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java

index f2459dd..4aa51db 100644 (file)
@@ -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) {