mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 03:06:14 +00:00
Keep the push foreground service alive while notifications are fetched (#7639)
* Keep the push foreground service alive while notifications are fetched * Release the push foreground service as soon as results are handed over --------- Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
+2
-1
@@ -8,7 +8,8 @@
|
||||
package io.element.android.libraries.push.api.push
|
||||
|
||||
/**
|
||||
* A helper to manage the foreground service used to keep the device awake while we schedule and wait for the work to fetch the notification content to run.
|
||||
* A helper to manage the foreground service used to keep the device awake, and the process out of background execution limits, from the moment
|
||||
* a push is received until the fetched notification content has been handed over for display.
|
||||
*/
|
||||
interface FetchPushForegroundServiceManager {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user