diff options
| author | 2023-03-30 20:10:36 +0000 | |
|---|---|---|
| committer | 2023-03-30 20:17:29 +0000 | |
| commit | 2292be52c3c8b490a690166cb47a82bf5f341084 (patch) | |
| tree | 02b15f1eb21c31b9eaf6cc10177ea0c0031f73e9 /libs/hwui/Matrix.cpp | |
| parent | 84fd6c78239f4bdeeabb75ac43bbe10daa0d35fb (diff) | |
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
Diffstat (limited to 'libs/hwui/Matrix.cpp')
0 files changed, 0 insertions, 0 deletions