Cherish:Torch long press power: add with auto-off function
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -18,4 +18,20 @@
|
||||
android:title="@string/gestures_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:icon="@drawable/ic_torch"
|
||||
android:key="torch_long_press_power_gesture"
|
||||
android:title="@string/torch_long_press_power_gesture_title"
|
||||
android:summary="@string/torch_long_press_power_gesture_desc"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<ListPreference
|
||||
android:key="torch_long_press_power_timeout"
|
||||
android:dialogTitle="@string/torch_long_press_power_timeout_title"
|
||||
android:title="@string/torch_long_press_power_timeout_title"
|
||||
android:summary="%s"
|
||||
android:entries="@array/torch_long_press_power_timeout_entries"
|
||||
android:entryValues="@array/torch_long_press_power_timeout_values"
|
||||
android:dependency="torch_long_press_power_gesture"
|
||||
android:persistent="false" />
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user