Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M110] Fix current queue not correctly updated when Remove_front is c…
…ancelled In following scenario: 1. [m1, m2] is showing 2. m1 is removed, so transit [m1, m2] to [m2, null] 3. before step 2 is finished, queue is suspended. Before step 2 is finished, currentQueue has been updated to [m2, null] but m1 is not actually removed from container because SingleActionMessage's callback is not triggered due to the cancellation of animator. This CL forces the animator to end in order to trigger the callback to ensure the message is actually removed from container. (cherry picked from commit 75f0260) Bug: 1405389 Change-Id: I2f774fda99f5ac9add39857a58589afdd5915d9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4148054 Reviewed-by: Aishwarya Rajesh <aishwaryarj@google.com> Commit-Queue: Lijin Shen <lazzzis@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1091114} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4163378 Cr-Commit-Position: refs/branch-heads/5481@{#255} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Lijin Shen
authored and
Chromium LUCI CQ
committed
Jan 13, 2023
1 parent
b54c914
commit 4b33170
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters