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

Skip to content
Commit 2292be52 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Don't show UDFPS when statusBarState != KEYGUARD

However, we allow the UDFPS icon to show when the status
bar isn't the keyguard ONLY when the screen off animation
is running since the statusBarState is delayed in changing
during that time. Previously, we were checking that the device
wasn't dozing; however, this was causing the UDFPS icon to flash
when a notification was expanded from AOD since the expansion
happens when transitioning from DOZE => LS.

Fixes: 235170617
Test: atest UdfpsKeyguardViewControllerTest
Test: screen off from the home screen,
the UDFPS icon fades in on AOD (doesn't blink in)
Test: Expand a pulsing notification from AOD, observe
there's mistaken show of the UDFPS icon

Change-Id: Ifa10b09c3f84045c71614d05eaee28353196b2e3
parent 84fd6c78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment