summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
diff options
context:
space:
mode:
authorRahul Chaturvedi <rkc@google.com>2015-06-15 18:09:42 (GMT)
committerRahul Chaturvedi <rkc@google.com>2015-06-15 18:09:42 (GMT)
commite863fed1400d00fab11a61c5b4b989d86ca55386 (patch)
tree34c034bc8f8c15abcfbf3e20e359dde20dfab158 /WallpaperPicker
parent931a2ce85aec5011298cf7f305f5823c13c0f578 (diff)
downloadandroid_packages_apps_Trebuchet-e863fed1400d00fab11a61c5b4b989d86ca55386.zip
android_packages_apps_Trebuchet-e863fed1400d00fab11a61c5b4b989d86ca55386.tar.gz
android_packages_apps_Trebuchet-e863fed1400d00fab11a61c5b4b989d86ca55386.tar.bz2
Read rotation setting correctly from the wallpaper picker.
If reading the rotation setting without the multi-process flag, the WallpaperPickerActivity usually picks up a cached value. Specifying the multi-process flag during the read fixes this and the wallpaper picker always has the correct rotation setting. Change-Id: Ic3639f8cd694674e92c8940b753c6bc30486076d
Diffstat (limited to 'WallpaperPicker')
-rw-r--r--WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
index 9415941..d9bfc30 100644
--- a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
+++ b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
@@ -1147,6 +1147,6 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
return true;
// Check if the user has specifically enabled rotation via preferences.
- return Utilities.isAllowRotationPrefEnabled(getApplicationContext());
+ return Utilities.isAllowRotationPrefEnabled(getApplicationContext(), true);
}
}