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

Commit 0de308e1 authored by Beverly's avatar Beverly Committed by Android Build Coastguard Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c761b5a09626951c49adee417dd59161886f2871)
Merged-In: Iae5c2b8100f7f28ccf060b1d5b8f62eea802b94b
Change-Id: Iae5c2b8100f7f28ccf060b1d5b8f62eea802b94b
parent f53f7fc2
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