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
Loading
Please register or sign in to comment