Cherish:Add preference for Accidental Touch

This commit is contained in:
Anas Karbila
2017-06-15 21:51:08 +09:00
committed by Hưng Phan
parent 2a1c9debc8
commit f5c8b0b425
2 changed files with 10 additions and 0 deletions

View File

@@ -210,4 +210,8 @@
<string name="hardware_keys_double_tap_title">Double tap action</string>
<string name="hardware_keys_category">Hardware keys</string>
<string name="hardware_keys_disable_title">Disable keys</string>
<!-- ANBI -->
<string name="anbi_title">Accidental touch</string>
<string name="anbi_summary">Prevent interaction with navigation buttons while the screen is being touched</string>
</resources>

View File

@@ -71,6 +71,12 @@
android:summary="@string/button_backlight_on_touch_only_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="anbi_enabled_option"
android:title="@string/anbi_title"
android:summary="@string/anbi_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory