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>
|
||||
|
||||
Reference in New Issue
Block a user