Fix background call hangup and end calls on screen lock or lid close
This commit is contained in:
1 parent
c7cdde6734
commit
0c352f0a10
55 files changed
+391
-120
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user