diff options
author | Louis Chang <louischang@google.com> | 2020-04-10 11:58:49 +0800 |
---|---|---|
committer | Louis Chang <louischang@google.com> | 2020-04-20 03:10:38 +0000 |
commit | 2570e334250bd8e38250ea2ea9b104dbc67b9c91 (patch) | |
tree | 7e1da16cafc43e92351baf89d378575e908eed02 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d4fdca6e39c446e047513b3dff0eb4d69b77b19b (diff) |
Update the surface size for tasks when config changes
The surface size was only set for the root task and the
surface size was not updated after entering split-screen
mode since those tasks were reparented to split-screen
organized tasks and were no longer be the root tasks.
Applying crop to root tasks, unless the task is created by
organizer. And also remove crop of the descendant tasks.
Bug: 153605363
Test: enter split-screen and rotate device
Test: atest TaskStackTests
Change-Id: I7b21c20dc676aa0be06c3c6e1b6b11c07a3d048d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions