Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
desks: Ensure OnDeskSwitchAnimation Launching/Finished are paired up.
Moves Finished to the destructor so it is always paired up with a Launching. Shelf relies on the two being paired up so it is hidden and shown properly. It's possible to modify Replace to have more return codes and handle the case a screenshot is not yet taken more gracefully. However, if a new use of Replace is added the user will have to ensure a new animation is not created on top of an existing one. Bug: 1166475 Test: manual Change-Id: I9d1ca10d4a028ee881af821ee4063ed2576c3b35 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633069 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#844245}
- Loading branch information