summaryrefslogtreecommitdiff
path: root/libs/androidfw/DynamicLibManager.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2020-03-21 22:56:31 -0700
committerWinson Chung <winsonc@google.com>2020-03-25 09:28:06 -0700
commitaff506bb30b436daa20972fbeafeea3fe073f8c4 (patch)
treeaa911f64c727d4f0382339639f2173873f3d7bd8 /libs/androidfw/DynamicLibManager.cpp
parent97b931681f4f123a5d2328a8e39a9ef65a5f9560 (diff)
Fix small issue with task org state cleanup
- When the task org binder died, it previously did not remove from the mTaskOrganizersForWindowingMode list and handle replacements the same way as unregistering. Likewise when unregistering, the code to handle replacements could override the existing state since it only checks if the previous state was not disposed before setting it. Alternatively, we can keep the list of TaskOrganizerStates for a windowing mode in a list. The last item in the list is the current task org for that windowing mode. When a task org is removed or its binder dies, we simply remove from that list. Bug: 152134222 Test: atest WmTests:TaskOrganizerTests Change-Id: I1c7fd8907c7f025da25d62b0fa939edbb789e0cb
Diffstat (limited to 'libs/androidfw/DynamicLibManager.cpp')
0 files changed, 0 insertions, 0 deletions