summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-04-05 12:08:48 -0700
committerVishnu Nair <vishnun@google.com>2021-04-05 12:08:48 -0700
commitb32b6acfe20cc2e8016aba794fef3dd8daaee01a (patch)
treef75b5a6c09738c24906f4c45661cbb1ea10c97ee /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9ad3b820bef9de56d1e07f9857bddaeaf2df768a (diff)
Call surfaceplacement if the window goes for relayout
We do not perform surface placement on the window if its considered gone for relayout. This change was introduced to prevent us from using invalid mFrames. However there is a discrepancy in the gone for relayout check. We will still relayout a window if the window is not currently visible but a layout is request of reasons such as window size changed. Fix this by requesting a surface placement if relayout is requested. This fixes an issue where a toast window created under the lock screen, shows up with the wrong position for a few frames. Test: go/wm-smoke Test: open toast under lock screen, check toast appears in the correct position Fixes: 175668342 Change-Id: Ibfe6aeb5704a348014e2ebca996874ebae18fdd2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions