summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-02-10 10:40:04 -0800
committerVishnu Nair <vishnun@google.com>2021-02-10 19:08:41 +0000
commit127b0e6f1e5371761e5dd2c22087fc07010a0380 (patch)
tree1f1fe57e1848b617c7053c56d3d7629fe37c4779 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5f6772539d5277ae3e55f3969c196746f1b930a2 (diff)
Use surface size instead of frame size when adjusting layer bounds
When exiting splitscreen we can end up cropping the SurfaceView incorrectly. This is because when drag drag resizing, the surface is resized to full screen and the window frame is updated in a subsequent relayout call. To fix this we use the surface size after adjusting for surface insets. Test: exit chrome from splitscreen to fullscreen, check that SV resizes correctly Test: atest SurfaceViewSyncTest Test: go/wm-smoke Fixes: 179911825 Change-Id: I0ccbdb5afa507b7a67e6aa7071ab5fb71f8a8cb8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions