summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-04-21 17:51:41 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-04-22 14:45:11 +0800
commiteebc3162a2d7d8dad225cc7c52e5bc3ab200037a (patch)
treed3c8b1c2f91ad93ed4f91977e19baa098be28195 /libs/androidfw/StringPool.cpp
parent2e495889be6991ca539c94840d5f35a4e9dd99f0 (diff)
Do not change created-by-organizer task to different organizer
Otherwise when registering another organizer, all tasks will belong to the latest organizer. And since commit 4d63b2b, it will remove all created-by-organizer tasks when disposing, which also removes the tasks created by other organizer. That causes the original organizer to have unexpected state or crash when it becomes the active organizer. Remove parameter forceUpdate because it is no-op (setTaskOrganizer also skips for the same instance). It was used in commit 77338ab. Bug: 228977409 Test: atest WindowOrganizerTests# \ testUnregisterOrganizer_removesTasksCreatedByIt Test: atest AivityLifecycleLegacySplitScreenTests And enter split screen from recents. SystemUI should not crash. Change-Id: I1c495717c536f021a98b338189b7924630dcc7f3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions