Cherish:Torch long press power: add with auto-off function
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -44,4 +44,20 @@
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="torch_long_press_power_timeout_entries" translatable="false">
|
||||
<item>@string/torch_long_press_power_timeout_never</item>
|
||||
<item>@string/torch_long_press_power_timeout_1min</item>
|
||||
<item>@string/torch_long_press_power_timeout_2min</item>
|
||||
<item>@string/torch_long_press_power_timeout_5min</item>
|
||||
<item>@string/torch_long_press_power_timeout_10min</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="torch_long_press_power_timeout_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>60</item>
|
||||
<item>120</item>
|
||||
<item>300</item>
|
||||
<item>600</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -137,4 +137,13 @@
|
||||
<string name="volume_key_cursor_control_off">Disabled</string>
|
||||
<string name="volume_key_cursor_control_on">Volume up/down moves cursor left/right</string>
|
||||
<string name="volume_key_cursor_control_on_reverse">Volume up/down moves cursor right/left</string>
|
||||
|
||||
<string name="torch_long_press_power_gesture_title">Screen off power button torch</string>
|
||||
<string name="torch_long_press_power_gesture_desc">Long press power button while the screen is off to turn on the flashlight</string>
|
||||
<string name="torch_long_press_power_timeout_title">Automatically turn torch off</string>
|
||||
<string name="torch_long_press_power_timeout_never">Never</string>
|
||||
<string name="torch_long_press_power_timeout_1min">1 minute</string>
|
||||
<string name="torch_long_press_power_timeout_2min">2 minutes</string>
|
||||
<string name="torch_long_press_power_timeout_5min">5 minutes</string>
|
||||
<string name="torch_long_press_power_timeout_10min">10 minutes</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user