android: hold wakelock for 30 seconds after received event was processed, to prevent race condition with incoming call activity. (#6224)

* android: hold wakelock for 45 seconds after event is received

* create new lock instances, delay release by 30 seconds

* comment
This commit is contained in:
Evgeny authored and GitHub committed 2025-08-27 19:54:53 +01:00
1 parent 98b11b3df1
commit d1d2e4bc18
3 files changed
+14 -7

No files matched your search

@@ -1,6 +1,3 @@
package chat.simplex.common.platform
actual fun getWakeLock(timeout: Long): (() -> Unit) {
return {}
}
actual fun getWakeLock(timeout: Long): (() -> Unit) = {}