Acquire PARTIAL_WAKE lock only during calls and briefly during registrations and network transitions

This commit is contained in:
Juha Heinanen
2026-04-12 18:52:04 +03:00
parent 71119f1c76
commit 97a31b5e31
6 changed files with 63 additions and 39 deletions
@@ -2087,7 +2087,7 @@ private fun answer(ctx: Context, call: Call) {
intent.action = "Call Answer"
intent.putExtra("uap", call.ua.uap)
intent.putExtra("callp", call.callp)
ctx.startService(intent)
ContextCompat.startForegroundService(ctx, intent)
}
private fun reject(call: Call) {