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
24 files changed