mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-30 18:29:21 +00:00
Prevent crash due to EncryptedSharedPreferences failing to be created
This commit is contained in:
parent
8449293c65
commit
87adf9867e
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ class CorePreferences constructor(private val context: Context) {
|
|||
} catch (kse: KeyStoreException) {
|
||||
Log.e("[VFS] Keystore exception: $kse")
|
||||
null
|
||||
} catch (e: Exception) {
|
||||
Log.e("[VFS] Exception: $e")
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue