Cherish: Add Flashlight blink on incoming calls [3/3]
- Thanks to Shripal17 for suggesting list preference instead of a toggle - Add a device specific flashlight check idoybh edits: The current check is for isRingerAudiable and not for DND - change var names and strings so it'll not mislead any future developer or any user Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -42,6 +42,13 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="flashlight_on_call"
|
||||
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="notifications_general_category"
|
||||
android:title="@string/general_category">
|
||||
|
||||
Reference in New Issue
Block a user