diff options
| author | 2023-03-16 15:12:50 +0900 | |
|---|---|---|
| committer | 2023-03-16 06:20:56 +0000 | |
| commit | e36360177a0a713b0c94743b3c84b555183f8526 (patch) | |
| tree | 2f1d7020947f9599e4850f2339fbf0692bd4ef37 /libs/androidfw/FileStream.cpp | |
| parent | 9ce369b8d80be78b7d13dd7b094bcd27eb0ddfbc (diff) | |
Use pending transition when task-org is unregistered
When a task-org is unregistered, the surface controls of all the
tasks organized by it are recreated, and their parent-child
relationship is reestablished with the new surface controls.
However, as different transactions are used for this recreate
operations, reparent() could be applied in an unexpected order,
and could some layers left detached in SF.
This CL replaces sync transition with pending transition in
TaskOrgController#removeTask() to ensure that the same transaction
is used for a series of operations.
Bug: 271357562
Test: WM CTS no longer causes ANR.
Change-Id: I8a95d3f03ae8f5dfafbca29b7e1bd252762c351c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions