Pin code : add simple grace period

This commit is contained in:
ganfra 2023-10-11 20:52:19 +02:00
parent bdcd2714cc
commit 588565995c
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()
}