Cherish: Add Flashlight blink on incoming calls [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -1374,4 +1374,19 @@
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Blink flashlight for incoming calls -->
|
||||
<string-array name="flashlight_on_call_entries">
|
||||
<item>@string/flashlight_on_call_disabled</item>
|
||||
<item>@string/flashlight_on_call_not_dnd</item>
|
||||
<item>@string/flashlight_on_call_dnd</item>
|
||||
<item>@string/flashlight_on_call_always</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="flashlight_on_call_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -1178,4 +1178,11 @@
|
||||
<string name="reticker_summary">Replace your notifications with a redesigned version of tickers! \nSlim and less invasive than a standard notification</string>
|
||||
<string name="reticker_colored_title">Use app colored background</string>
|
||||
<string name="reticker_colored_summary">Replace reTicker background color using notification app main color</string>
|
||||
|
||||
<!-- Blink flashlight for incoming calls -->
|
||||
<string name="flashlight_on_call_title">Blink Flashlight for call</string>
|
||||
<string name="flashlight_on_call_disabled">Disabled</string>
|
||||
<string name="flashlight_on_call_not_dnd">Only in ringer mode</string>
|
||||
<string name="flashlight_on_call_dnd">Only in DND mode</string>
|
||||
<string name="flashlight_on_call_always">Always</string>
|
||||
</resources>
|
||||
|
||||
@@ -130,6 +130,14 @@
|
||||
android:title="@string/notification_sound_vib_screen_on_title"
|
||||
android:summary="@string/notification_sound_vib_screen_on_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="flashlight_on_call"
|
||||
android:icon="@drawable/ic_flashlight"
|
||||
android:title="@string/flashlight_on_call_title"
|
||||
android:entries="@array/flashlight_on_call_entries"
|
||||
android:entryValues="@array/flashlight_on_call_values"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="pulse_ambient_light_category"
|
||||
|
||||
Reference in New Issue
Block a user