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

Commit 958fbbbd authored by lbill's avatar lbill
Browse files

Tweak DisplayPowerController#animateScreenStateChange() for AoF

The config_displayBlanksAfterDoze was designed for Doze(AoD) force
display blanks after dozing or not, however the legacy flow

Consideraing Screen Off transition wihout flicker(SmartSpace, Clocks)
Add additional condition : (isOff && targetStateisNotOff) then invoke
prepareColorFade() before screen turning ON.

Flag: com.android.server.display.feature.flags.ensure_color_fade_when_turning_on
Bug: 384986206
Bug: 414931552
Test: Forest
Test: DisplayPowerControllerTest
Test: manual enroll fingerprint and enable screen off unlock
      ensure the unlock from screen off to on do not observe flicker
Change-Id: I5a329af8986f7a2474eebb2ec0a661b9cfd99b8f
parent fef35050
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