mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-23 22:58:23 +00:00
Prevent call overlay exception
This commit is contained in:
parent
93d00931ac
commit
93cdaf781b
1 changed files with 6 additions and 2 deletions
|
|
@ -776,8 +776,12 @@ class CoreContext(
|
|||
onCallOverlayClick()
|
||||
}
|
||||
|
||||
callOverlay = overlay
|
||||
windowManager.addView(overlay, params)
|
||||
try {
|
||||
windowManager.addView(overlay, params)
|
||||
callOverlay = overlay
|
||||
} catch (e: Exception) {
|
||||
Log.e("[Context] Failed to add overlay in windowManager: $e")
|
||||
}
|
||||
}
|
||||
|
||||
fun onCallOverlayClick() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue