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

Skip to content
Commit a27b862b authored by Marzia Favaro's avatar Marzia Favaro
Browse files

Update dim state when new window is drawn

We used to update the dim state only in prepareSurfaces, but this lead
to flickers with windows that were showing during a transition. Therefore,
when a new window is drawn, we recalculate the state of the possible
affected dim and update it in the same transaction.

Bug: 327332488
Test: DimmerTests
Flag: com.android.window.flags.update_dims_when_window_shown
Change-Id: Idc52a3ee6875218350e34ad44f1c28f6cb5666a1
parent 31068add
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