aboutsummaryrefslogtreecommitdiff
path: root/doze/res/xml/doze_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doze/res/xml/doze_settings.xml')
-rw-r--r--doze/res/xml/doze_settings.xml32
1 files changed, 5 insertions, 27 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml
index 09e27b5..acc19d2 100644
--- a/doze/res/xml/doze_settings.xml
+++ b/doze/res/xml/doze_settings.xml
@@ -14,13 +14,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
-
- <SwitchPreference
- android:key="ambient_display"
- android:defaultValue="true"
- android:title="@string/ambient_display_title"
- android:summary="@string/ambient_display_summary" />
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:cm="http://schemas.android.com/apk/res/cyanogenmod.platform">
<PreferenceCategory
android:key="tilt_sensor"
@@ -30,15 +25,7 @@
android:key="pick_up"
android:defaultValue="false"
android:title="@string/pick_up_title"
- android:summary="@string/pick_up_summary"
- android:dependency="ambient_display" />
-
- <SwitchPreference
- android:key="tilt_always"
- android:defaultValue="false"
- android:title="@string/always_enabled_title"
- android:summary="@string/always_enabled_summary"
- android:dependency="ambient_display" />
+ android:summary="@string/pick_up_summary" />
</PreferenceCategory>
@@ -50,22 +37,13 @@
android:key="gesture_hand_wave"
android:defaultValue="false"
android:title="@string/hand_wave_gesture_title"
- android:summary="@string/hand_wave_gesture_summary"
- android:dependency="ambient_display" />
+ android:summary="@string/hand_wave_gesture_summary" />
<SwitchPreference
android:key="gesture_pocket"
android:defaultValue="false"
android:title="@string/pocket_gesture_title"
- android:summary="@string/pocket_gesture_summary"
- android:dependency="ambient_display" />
-
- <SwitchPreference
- android:key="proximity_always"
- android:defaultValue="false"
- android:title="@string/always_enabled_title"
- android:summary="@string/always_enabled_summary"
- android:dependency="ambient_display" />
+ android:summary="@string/pocket_gesture_summary" />
</PreferenceCategory>