Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee6c8369 authored by Darrell Shi's avatar Darrell Shi Committed by Android Build Coastguard Worker
Browse files

Fix transition to LOCKSCREEN after hub timeout

This change fixes an issue where after OOBE, timing out from hub to
dream causes keyguard state to incorrectly transition to LOCKSCREEN
state, showing the keyguard clock and charging status over dream. This
was caused by keyguardInteractor#isKeyguardGoingAway not emitting until
keyguard is going away (unlocked) for the first time.

Since this API is already deprecated, this change minimizes the impact
by manually emitting a false value on start on the collection site.

Test: wipe device and flash a new build, verify that timing out from hub
      to dream transitions to DREAMING keyguard state correctly
Bug: 423563289
Flag: EXEMPT bugfix only
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a219ea393d82abe83e13f65053d02eb0858a47ea)
Merged-In: I9d95ea8a6aa4241c2adc897c71a87367750b5d47
Change-Id: I9d95ea8a6aa4241c2adc897c71a87367750b5d47
parent 732ebdd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment