Skip to content
Commit 88f50dbc authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Use blast sync for changing screen resolution

Windows with PRIVATE_FLAG_IS_ROUNDED_CORNERS_OVERLAY will be put
on top layer and by default it is excluded from screenshot.
So before the animation starts, their drawn result should not be
shown immediately. In other words, make them sync with the start
of animation.

Also
- Fix typo for scale of resolution change animation.
- Clear blast sync timeout from draw handler because
  Navbar may remove and add again while InsetsSourceProvider
  called applyWithNextDraw for it.

Bug: 273874648
Test: Change screen resolution in settings.
      The cutout won't be flickering.
Change-Id: I5c56ee362fe915e16870b4c15c958e19f0504abe
parent 0674cd7e
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