Pin code : add simple grace period

This commit is contained in:
ganfra 2023-10-11 20:52:19 +02:00
parent 8c115d2982
commit cb6a07b90d
4 changed files with 34 additions and 9 deletions

View file

@ -21,6 +21,7 @@ import kotlinx.coroutines.flow.StateFlow
interface PinStateService {
val pinState: StateFlow<PinState>
suspend fun lock()
suspend fun entersForeground()
suspend fun entersBackground()
suspend fun unlock()
}