summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-08-19 17:27:22 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-08-19 18:18:51 +0800
commit2eb684ea8b81a7cac01449b73793ece7ee07c397 (patch)
tree60cdf1b1a03a1133b9affb8e3b8ed654ce9ada08 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentca7eb3f9adf2cdce2b4256d9b2fd2c2a0181476b (diff)
Remove Task#mForceNotOrganized
The flag was added to avoid flickering when switching from PiP to fullscreen with display orientation change. The actual problem is that there may have a latency for fullscreen task organizer to configure the surface. The original approach works because it will call WindowContainer#migrateToNewSurfaceControl when sending vanished event to task organizer, which will create a new surface so the old transformation is dropped. But that is unnecessary to use a error-prone flag (e.g. not reset) to resolve the case. It is enough to clear the matrix and crop of the task surface. Bug: 196233750 Bug: 179235349 Test: Expand PiP from portrait display to fullscreen landscape Change-Id: I675f93284e52ee4a84568265827c7e8c6066273d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions