9 lines
306 B
Kotlin
9 lines
306 B
Kotlin
package studio.daybreak.mail
|
|
|
|
internal object AndroidVaultKeyPolicy {
|
|
fun shouldCreateKey(hasEncryptedData: Boolean): Boolean = !hasEncryptedData
|
|
|
|
const val MISSING_KEY_MESSAGE =
|
|
"The Android Keystore key for saved app data is missing. Existing encrypted data was not reset or replaced."
|
|
}
|