summaryrefslogtreecommitdiffstats
path: root/res/xml/display_rotation.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/display_rotation.xml')
-rw-r--r--res/xml/display_rotation.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/xml/display_rotation.xml b/res/xml/display_rotation.xml
index c6a3394..b839e39 100644
--- a/res/xml/display_rotation.xml
+++ b/res/xml/display_rotation.xml
@@ -21,10 +21,11 @@
<SwitchPreference
android:key="accelerometer"
android:title="@string/accelerometer_title" />
- <SwitchPreference
+ <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="lockscreen_rotation"
android:title="@string/display_lockscreen_rotation_title"
- android:dependency="accelerometer" />
+ android:dependency="accelerometer"
+ android:defaultValue="false" />
<PreferenceCategory
android:key="display_rotation_category"
android:title="@string/display_rotation_category_title" />