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 (DerpFest) 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
This commit is contained in:
@@ -652,4 +652,19 @@
|
||||
<item>#FF00FF00</item>
|
||||
<item>#FFFF0000</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_ringer</item>
|
||||
<item>@string/flashlight_on_call_silent</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>
|
||||
|
||||
@@ -735,4 +735,10 @@
|
||||
<string name="center_notification_headers_title">Center notification headers</string>
|
||||
<string name="center_notification_headers_summary">Whether to Center R style notification headers (Requires a SystemUI restart)</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_ringer">Only in ringer mode</string>
|
||||
<string name="flashlight_on_call_silent">Only when ringer is silent</string>
|
||||
<string name="flashlight_on_call_always">Always</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user