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

Commit c761b5a0 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Fix GONE => AOD AodPromotedNotif sensitivity flicker

Check hasTrust instead of isKeyguardDismissible.
isKeyguardDismissible doesn't get updated to false
until the GONE => AOD transition is finished since
it relies on isKeyguardShowing. hasTrust does not
rely on the keyguardShowing state, so it avoids
the flicker of showing the unredacted notification
on transition to AOD.

Test: atest AODPromotedNotificationsInteractorTest
Bug: 421115996
Flag: EXEMPT bugfix
Change-Id: Iae5c2b8100f7f28ccf060b1d5b8f62eea802b94b
parent bd4ec4cb
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