Prevent crash due to EncryptedSharedPreferences failing to be created
This commit is contained in:
parent
eb634c74e7
commit
40de347237
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…
Reference in a new issue