summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2022-02-16 15:51:41 -0800
committer Hongwei Wang <hwwang@google.com> 2022-02-28 09:44:27 -0800
commitab9bd401a9f91e11c7357e74fe9d673b67769f92 (patch)
tree466cf4edb58f642c49ffe45c87cd12491a9364a0 /libs/androidfw/StringPool.cpp
parentb70d7493c6e6d0618cc0ea31d5cb3d71b395aae6 (diff)
Allow onTaskInfoChanged dispatch immediately
When TaskOrganizerController#onTaskInfoChanged receives the request to change aspect ratio of an existing PiP window, such request would be queued in mPendingTaskEvents and get dispatched on the next - RootWindowContainer#performSurfacePlacementNotrace OR - WindowAnimator#animate In case there is no event queued in PendingTaskEvent, we change to dispatch the event immediately. Otherwise, the next drawn should dispatch all pending events. Bug: 218456378 Test: atest PinnedStackTests#testChangeAspectRationWhenInPipMode \ WmTests:WindowOrganizerTests Change-Id: I09b43c362013b694d13566ece42a6f5be2225108
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions