aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2021-10-28 23:06:55 +0200
committerDavide Garberi <dade.garberi@gmail.com>2021-10-29 00:15:13 +0200
commit0ac127a13940e42f377db84d417039c6c851903b (patch)
treef7adb33ae6724cac1d03e7d07679573a72d4b6d4
parent8af90b16090b54cba6da59c94f84f6a36c83d731 (diff)
msm8996-common: LineageParts: Add back button overlay entry
* We actually can't customize this action because of the Utouch button * Though without this entry the buttons menu crashes when navbar is enabled Change-Id: I2034feb5cc6ec2c981d6508e9ad427a5b9bf12b5
-rw-r--r--overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml b/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml
index 5612ead..0876d79 100644
--- a/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml
+++ b/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml
@@ -170,6 +170,14 @@
android:title="@string/button_wake_title"
android:defaultValue="false" />
+ <ListPreference
+ android:key="hardware_keys_back_long_press"
+ android:dialogTitle="@string/hardware_keys_long_press_title"
+ android:title="@string/hardware_keys_long_press_title"
+ android:entries="@array/hardware_keys_action_entries"
+ android:entryValues="@array/hardware_keys_action_values"
+ android:persistent="false" />
+
</PreferenceCategory>
<PreferenceCategory