summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-06-01 14:28:55 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-06-03 02:58:32 +0000
commit6a0777a1d778f6b469722b25a0e7645a2adce525 (patch)
treeb2a9023def4e4ff5da92dfe6719d8e9439906b88 /docs/html/sdk/api_diff/24/changes
parent0a40c03eb1a0583c7cac687d679d281683fae293 (diff)
Force relayout if sync operation is requested explicitly
The initial value of WindowState#mRedrawForSyncReported is false. Then even if mSyncState is none and mPendingDrawHandlers is empty and Task#mMainindowSizeChangeTransaction is null, it still forces client to relayout. This change aligns the condition in updateResizingWindowIfNeeded that also checks shouldSendRedrawForSync. So if there is no explicit sync request, there won't be an extra relayout. Bug: 189915038 Test: CtsWindowManagerDeviceTestCases Test: Check trace of adding a new simple window. There should be only one traversal. Change-Id: Iad10034e29b9db50ec4221ac1a25f26ce6464393
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions