packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/FromAodTransitionInteractor.kt
+41
−16
+13
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When waking up from AOD or DOZING, check if keyguard is showing. KeyguardViewMediator is still responsible for this logic and will not show keyguard if there is a lock timeout or security is set to NONE. This also fixes a race condition with DOZING that could result in going to LOCKSCREEN instead of GONE. Fixes: 327606987 Fixes: 326988246 Fixes: 327717534 Test: atest AodToGoneTransitionViewModelTest DozingToGoneTransitionViewModelTest Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint TEAMFOOD Change-Id: I9f7976760292be5d5765e49021e0d579a6250092