diff options
author | LuK1337 <priv.luk@gmail.com> | 2021-05-03 23:58:01 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2021-05-04 13:58:03 +0200 |
commit | c0b3cc1c983e39d5b0f0ed884ea647025a32760e (patch) | |
tree | 68f4ed95794d981cccea0dffa508ecdf2d65b53b | |
parent | 5fb004f482cdbc15c65e073ce60e820bb441c61e (diff) |
LineageParts: Add KILL_APP button action
Change-Id: I08af6898da1013f146bc620ea86033572cd6c53c
-rw-r--r-- | res/values/arrays.xml | 4 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index dd9163d..cbb200e 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -63,6 +63,7 @@ <item>@string/hardware_keys_action_sleep</item> <item>@string/hardware_keys_action_last_app</item> <item>@string/hardware_keys_action_split_screen</item> + <item>@string/hardware_keys_action_kill_app</item> </string-array> <!-- Hardware key rebinding for Go enabled devices --> @@ -80,6 +81,7 @@ split-screen is not supported on Android Go devices <item>@string/hardware_keys_action_split_screen</item> --> + <item>@string/hardware_keys_action_kill_app</item> </string-array> <string-array name="hardware_keys_action_values" translatable="false"> @@ -93,6 +95,7 @@ <item>7</item> <item>8</item> <item>9</item> + <item>10</item> </string-array> <string-array name="hardware_keys_action_values_go" translatable="false"> @@ -109,6 +112,7 @@ split-screen is not supported on Android Go devices <item>9</item> --> + <item>10</item> </string-array> <!-- Volume key cursor control --> diff --git a/res/values/strings.xml b/res/values/strings.xml index 1eb0545..1e7c183 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -191,6 +191,7 @@ <string name="hardware_keys_action_sleep">Turn screen off</string> <string name="hardware_keys_action_last_app">Last app</string> <string name="hardware_keys_action_split_screen">Split screen</string> + <string name="hardware_keys_action_kill_app">Kill foreground app</string> <string name="camera_sleep_on_release_title">Screen peek</string> <string name="camera_sleep_on_release_summary">A half press will keep the screen on only while the button is held down</string> <string name="camera_launch_title">Launch camera</string> |