diff options
author | Kelly <mushroomhead52e@gmail.com> | 2012-08-15 20:19:22 -0400 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-07-10 15:41:48 -0700 |
commit | b6d2bc789a0d87afd75503ade002d18dbb042831 (patch) | |
tree | a489f32fc8d3753afbf5dbd9f282ca9ef9280dd7 /res | |
parent | 8182baea2433ac750e0d57dc223570475553c385 (diff) | |
download | packages_apps_settings-b6d2bc789a0d87afd75503ade002d18dbb042831.zip packages_apps_settings-b6d2bc789a0d87afd75503ade002d18dbb042831.tar.gz packages_apps_settings-b6d2bc789a0d87afd75503ade002d18dbb042831.tar.bz2 |
Add lockscreen rotation as an optional rotation setting (2/2)
This will allow the user to select wether or not to use the
rotation settings for the lockscreen. This is dependent
upon the rotation setting being checked.
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: If45c13a395e0d71b7c4cdcf484a6b8cef964ee37
JIRA: CYAN-339
Diffstat (limited to 'res')
-rw-r--r-- | res/values/cm_strings.xml | 1 | ||||
-rw-r--r-- | res/xml/display_rotation.xml | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 182849a..cc507c3 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -399,6 +399,7 @@ <string name="display_rotation_title">Rotation</string> <string name="display_rotation_disabled">Disabled</string> <string name="display_rotation_unit">degrees</string> + <string name="display_lockscreen_rotation_title">Rotate lock screen</string> <string name="display_rotation_category_title">Rotation modes</string> <string name="display_rotation_0_title">0 degrees</string> <string name="display_rotation_90_title">90 degrees</string> diff --git a/res/xml/display_rotation.xml b/res/xml/display_rotation.xml index 86b9e9f..c21de2e 100644 --- a/res/xml/display_rotation.xml +++ b/res/xml/display_rotation.xml @@ -21,13 +21,15 @@ <CheckBoxPreference android:key="accelerometer" android:title="@string/accelerometer_title" /> - <CheckBoxPreference android:key="swap_volume_buttons" android:title="@string/swap_volume_buttons_title" android:summary="@string/swap_volume_buttons_summary" android:dependency="accelerometer" /> - + <CheckBoxPreference + android:key="lockscreen_rotation" + android:title="@string/display_lockscreen_rotation_title" + android:dependency="accelerometer" /> <PreferenceCategory android:key="display_rotation_category" android:title="@string/display_rotation_category_title" /> |