Fix background call hangup and end calls on screen lock or lid close

This commit is contained in:
Luxferre committed 2026-11-04 17:59:19 +02:00
1 parent c7cdde6734
commit 0c352f0a10
55 files changed
+391 -120

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ bool isRuntimePidAliveNeoui(const char* pidFile) {
bool isExternalOverlayOrLockActive(const std::string& appName) {
if (appName != "callscreen" && appName != "xcallscreen") {
if (isCallActiveOrRingingInNeoui() ||
if (::access("/tmp/sxmo_call_ringing", F_OK) == 0 ||
isRuntimePidAliveNeoui("xcallscreen.pid")) {
return true;
}