Make the Android timer notification high priority (#123006)

This commit is contained in:
Paulus Schoutsen 2024-08-01 11:51:45 +02:00 committed by GitHub
parent 6bf59a8dfc
commit bc91bd3293
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@ def async_handle_timer_event(
# Android # Android
"channel": "Timers", "channel": "Timers",
"importance": "high", "importance": "high",
"ttl": 0,
"priority": "high",
# iOS # iOS
"push": { "push": {
"interruption-level": "time-sensitive", "interruption-level": "time-sensitive",

View File

@ -61,6 +61,8 @@ async def test_timer_events(
"channel": "Timers", "channel": "Timers",
"group": "timers", "group": "timers",
"importance": "high", "importance": "high",
"ttl": 0,
"priority": "high",
"push": { "push": {
"interruption-level": "time-sensitive", "interruption-level": "time-sensitive",
}, },