diff options
| author | 2024-06-26 19:44:55 +0200 | |
|---|---|---|
| committer | 2024-07-08 23:48:50 -0400 | |
| commit | 94eea04ec214b0020cd19c25aba24713f9439f32 (patch) | |
| tree | 2c4da2c63981bd99af20da41a77f9195a1a8de24 /api/api_test.go | |
| parent | c7aa0be40fba631117882fa7cc380ea9394f372f (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: I55a2f0518eb72469d41c41339ed6f4e5ef033f5c
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions