Cherish: Allow doubletap/longpress power to toggle torch [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
ezio84
2022-09-24 11:37:44 +07:00
committed by Hưng Phan
parent 4f1a57e28d
commit aa4ad58e36
4 changed files with 46 additions and 0 deletions

View File

@@ -249,4 +249,17 @@
<item>3</item>
<item>4</item>
</string-array>
<!-- Torch Power button gestures -->
<string-array name="torch_power_button_gesture_entries">
<item>@string/torch_power_button_gesture_none</item>
<item>@string/torch_power_button_gesture_dt</item>
<item>@string/torch_power_button_gesture_lp</item>
</string-array>
<string-array name="torch_power_button_gesture_values" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
</resources>