summaryrefslogtreecommitdiff
path: root/startop/scripts/app_startup/lib/adb_utils.py
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-09-05 00:05:47 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-09-19 16:50:12 +0800
commit0ac60d478c06240eaa4191c29ed43ca94e4382eb (patch)
treed51eb078506d5db0e251c7bb98d9697535b6775c /startop/scripts/app_startup/lib/adb_utils.py
parente18cb098628a66c3c199f29af92f565f72534970 (diff)
Move the checking of mWindowAttributesChanged closer to relayoutWindow
It prevents additional relayoutWindow after the first performTraversals if there is a SurfaceView in the view tree. It happens from host.dispatchAttachedToWindow to SurfaceView#onAttachedToWindow and then requestTransparentRegion that changes mWindowAttributesChanged to true. So it is useless to clear mWindowAttributesChanged before the path in the case. Bug: 140407614 Test: The ViewRootImpl#relayoutWindow is only called once when launching a simple activity which contains a SurfaceView. Change-Id: Id49226cab0e9407e6d76e6446f490145b0929594
Diffstat (limited to 'startop/scripts/app_startup/lib/adb_utils.py')
0 files changed, 0 insertions, 0 deletions