mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Catched exception in SecureFragment
This commit is contained in:
parent
c931e19073
commit
86eb0694a8
1 changed files with 5 additions and 1 deletions
|
|
@ -82,7 +82,11 @@ abstract class SecureFragment<T : ViewDataBinding> : GenericFragment<T>() {
|
|||
|
||||
if (ViewCompat.isAttachedToWindow(window.decorView)) {
|
||||
Log.d("[Secure Fragment] Redrawing window decorView to apply flag")
|
||||
windowManager.updateViewLayout(window.decorView, window.attributes)
|
||||
try {
|
||||
windowManager.updateViewLayout(window.decorView, window.attributes)
|
||||
} catch (ise: IllegalStateException) {
|
||||
Log.e("[Secure Fragment] Failed to update view layout: $ise")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue