diff options
| author | 2024-06-26 19:44:55 +0200 | |
|---|---|---|
| committer | 2024-07-10 22:22:37 +0000 | |
| commit | 2a18e1f3295ae88d8a631f91a4e0eae2d29d0f40 (patch) | |
| tree | 42a33712c83af1eebbdc9b286539636ff2d1f81a /api/api_test.go | |
| parent | 8cd9a6396c452faa49720d4cce446a8695e23966 (diff) | |
Add WakeDirectlyToGoneInteractor.
This centralizes all of the logic used to determine whether we can go back to GONE, even if auth would normally be required, including:
- Waking before the lock timeout, after a screen timeout
- Waking before the lock timeout, when 'power button locks instantly' is disabled
- Wake and unlock
- Keyguard service is disabled
- Lockscreen is disabled via adb or by tests
Bug: 278086361
Test: atest KeyguardWakeDirectlyToGoneInteractorTest
Test: manual with various screen timeout/power button locks instantly settings
Flag: EXEMPT bugfix
Change-Id: Idac19ae0292088fb63add15dde520d3f7336077d
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions