summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-04-19 09:27:38 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-04-19 09:27:56 -0700
commit40253329c5c94088b8d4b16b8b9fd17af32fb0d7 (patch)
tree1f10e72ca8af8fd35263dd8a7818ee0b1308a90d /res/xml
parentfed15f199e9d49087fe99a84c0287d55cdc8dc12 (diff)
downloadandroid_packages_apps_Trebuchet-40253329c5c94088b8d4b16b8b9fd17af32fb0d7.tar.gz
android_packages_apps_Trebuchet-40253329c5c94088b8d4b16b8b9fd17af32fb0d7.tar.bz2
android_packages_apps_Trebuchet-40253329c5c94088b8d4b16b8b9fd17af32fb0d7.zip
Bringing back auto-rotate settings
Bug: 77654352 Change-Id: I0910fc8afe2fb7e125d57912abc35bbbd5df9d74
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/launcher_preferences.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index 7bb19f334..dde2c5c17 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -34,8 +34,13 @@
android:title="@string/auto_add_shortcuts_label"
android:summary="@string/auto_add_shortcuts_description"
android:defaultValue="true"
- android:persistent="true"
- />
+ android:persistent="true" />
+
+ <SwitchPreference
+ android:key="pref_allowRotation"
+ android:title="@string/allow_rotation_title"
+ android:defaultValue="@bool/allow_rotation"
+ android:persistent="true" />
<ListPreference
android:key="pref_override_icon_shape"