summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-03-25 01:41:25 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-03-25 01:41:41 +0800
commit88f50dbc5bdba2dd54d7a9a90f384aae33278267 (patch)
treed392814f5dbf9c8afda61b7652c457918608cff3 /api/api.go
parent0674cd7e1063e0ad4e06f84b1c8d6af87d432da8 (diff)
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions