OSDN Git Service

Allow selecting vibration mode during zen priority mode.
[android-x86/packages-apps-Settings.git] / res / xml / zen_mode_priority_settings.xml
index 6cdbe95..567b9e7 100644 (file)
         android:title="@string/zen_mode_alarms"
         android:enabled="false"
         android:defaultValue="true"
-        android:persistent="false"
-        android:switchTextOff=""
-        android:switchTextOn="" />
+        android:persistent="false"/>
 
     <!-- Reminders -->
     <SwitchPreference
         android:key="reminders"
         android:title="@string/zen_mode_reminders"
-        android:persistent="false"
-        android:switchTextOff=""
-        android:switchTextOn="" />
+        android:persistent="false"/>
 
     <!-- Events -->
     <SwitchPreference
         android:key="events"
         android:title="@string/zen_mode_events"
-        android:persistent="false"
-        android:switchTextOff=""
-        android:switchTextOn="" />
+        android:persistent="false"/>
 
     <!-- Messages -->
-    <SwitchPreference
+    <com.android.settings.DropDownPreference
         android:key="messages"
         android:title="@string/zen_mode_messages"
-        android:persistent="false"
-        android:switchTextOff=""
-        android:switchTextOn="" />
+        android:persistent="false" />
 
     <!-- Calls -->
-    <SwitchPreference
+    <com.android.settings.DropDownPreference
         android:key="calls"
         android:title="@string/zen_mode_calls"
-        android:persistent="false"
-        android:switchTextOff=""
-        android:switchTextOn="" />
+        android:persistent="false" />
 
-    <!-- Messages/calls from -->
-    <com.android.settings.DropDownPreference
-            android:key="starred"
-            android:title="@string/zen_mode_from"
-            android:persistent="false" />
+    <!-- Repeat callers -->
+    <SwitchPreference
+        android:key="repeat_callers"
+        android:title="@string/zen_mode_repeat_callers"
+        android:persistent="false"/>
+
+       <com.android.settings.DropDownPreference
+        android:key="vibration"
+        android:title="@string/zen_mode_vibration"
+        android:persistent="false" />
+
+    <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
+        android:key="zen_priority_allow_lights"
+        android:title="@string/notification_light_title"
+        android:defaultValue="true" />
 
 </PreferenceScreen>