Android security implementation Phase 0-3 finalization part 1

This commit is contained in:
2026-11-03 23:45:20 +02:00
parent 526ca767b1
commit 5f456e64d0
27 changed files with 2774 additions and 1775 deletions
@@ -0,0 +1,11 @@
package studio.daybreak.mail
internal object AndroidAppLockPolicy {
val allowedDelaySeconds = setOf(0, 30, 60, 300)
fun requireValidDelay(seconds: Int) {
require(seconds in allowedDelaySeconds) {
"Choose a supported app-lock delay."
}
}
}