[2/2] OmniGears: readd lock screen shortcut config
define if left shortcut is dialer or voice
hide left right or both
hide indicator text
Change-Id: Iaceb32429d2f243f24684c5b694dd96ed88d279c
diff --git a/res/xml/lockscreen_settings.xml b/res/xml/lockscreen_settings.xml
index 1f85eba..f6555b8 100644
--- a/res/xml/lockscreen_settings.xml
+++ b/res/xml/lockscreen_settings.xml
@@ -16,36 +16,36 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
-<!--
<PreferenceCategory
android:key="lockscreen_shortcut"
android:title="@string/lockscreen_shortcut_title" >
- <com.android.settings.preference.SecureSettingSwitchPreference
+ <org.omnirom.omnigears.preference.SecureSettingSwitchPreference
android:key="lockscreen_shortcuts_enable"
android:title="@string/lockscreen_shortcuts_enable_title"
android:defaultValue="true"/>
- <com.android.settings.preference.SecureCheckBoxPreference
+ <org.omnirom.omnigears.preference.SecureCheckBoxPreference
android:key="lockscreen_camera_shortcut_enable"
android:title="@string/lockscreen_camera_shortcut_enable_title"
android:summary="@string/lockscreen_camera_shortcut_enable_summary"
android:defaultValue="true"
android:dependency="lockscreen_shortcuts_enable" />
- <com.android.settings.preference.SecureCheckBoxPreference
+ <org.omnirom.omnigears.preference.SecureCheckBoxPreference
android:key="lockscreen_left_shortcut_enable"
android:title="@string/lockscreen_left_shortcut_enable_title"
android:summary="@string/lockscreen_left_shortcut_enable_summary"
android:defaultValue="true"
android:dependency="lockscreen_shortcuts_enable" />
- <com.android.settings.preference.SecureCheckBoxPreference
+ <org.omnirom.omnigears.preference.SecureCheckBoxPreference
android:key="lockscreen_voice_shortcut"
android:title="@string/lockscreen_voice_shortcut_title"
android:summary="@string/lockscreen_voice_shortcut_summary"
android:defaultValue="true"
android:dependency="lockscreen_left_shortcut_enable" />
+ <!--
<Preference
android:key="lockscreen_shortcuts"
@@ -53,18 +53,19 @@
android:summary="@string/lockscreen_shortcuts_summary"
android:persistent="false"
android:dependency="lockscreen_shortcuts_enable" />
+ -->
+
</PreferenceCategory>
--->
<PreferenceCategory
android:key="lockscreen_other"
android:title="@string/other_category" >
-<!--
- <com.android.settings.preference.SystemSettingSwitchPreference
+
+ <org.omnirom.omnigears.preference.SecureSettingSwitchPreference
android:key="lockscreen_indicator_display"
android:title="@string/lockscreen_indicator_display_title"
android:summary="@string/lockscreen_indicator_display_summary"
android:defaultValue="true" />
--->
+
<org.omnirom.omnigears.preference.SecureSettingSwitchPreference
android:key="lockscreen_qs_disabled"
android:title="@string/lockscreen_qs_disabled_title"
@@ -77,21 +78,6 @@
</PreferenceCategory>
<!--
- <PreferenceCategory
- android:key="lockscreen_wallpaper"
- android:title="@string/lockscreen_wallpaper_title" >
-
- <Preference
- android:key="lockscreen_wallpaper_set"
- android:title="@string/lockscreen_wallpaper_set_title"
- android:persistent="false"/>
-
- <Preference
- android:key="lockscreen_wallpaper_clear"
- android:title="@string/lockscreen_wallpaper_clear_title"
- android:persistent="false"/>
-
- </PreferenceCategory>
<PreferenceCategory
android:key="lockscreen_clock"