Hardware key disable support

Change-Id: I42f8b3b9423e218eb612bb8ff57baa58280392e6
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
bigrushdog
2017-12-05 23:50:58 -08:00
committed by Hưng Phan
parent 2960d8c445
commit 4720f3c724
6 changed files with 137 additions and 8 deletions

View File

@@ -18,6 +18,13 @@
android:title="@string/button_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:key="hardware_keys"
android:title="@string/hardware_keys_category">
<SwitchPreference android:key="hardware_keys_disable"
android:title="@string/hardware_keys_disable_title" />
</PreferenceCategory>
<PreferenceCategory
android:key="volume_category"
android:title="@string/volume_category">