desks: Fix for continuous gestures crash.
The crash reports say that the starting desk screenshot is not taken when ending a gesture. This CL adds handling for that case, along with handling for case if the ending desk screenshot is not taken. If the starting desk screenshot has not been taken yet, the user does not see the screenshot. This means from the user's point of view, they still only see the starting desk. In this case, we can just end the animation without animating, and make sure the delegate will activate the starting desk again. Test: manual & added test Bug: 1134390 Change-Id: I3ff2f5a04f46bea9fb4e6403a969b67afb972d65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2506356 Commit-Queue: Sammie Quon <sammiequon@chromium.org> Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#822514}
Showing
Please register or sign in to comment