Fix the crash on animating the accessibility floating menu.

Root cause:
The menu had been animating and moving to the screen edge and hiding the menu in the meantime.

Solution:
Should cancel the animation before hiding the menu.

Bug: 237217858
Test: atest AccessibilityFloatingMenuViewTest
Merged-In: I75f75de3299210ed9d88b3be7dbaa81abb7db2e1
Change-Id: I75f75de3299210ed9d88b3be7dbaa81abb7db2e1
(cherry picked from commit 87edbcd0bc53d5a6d676162266f38686d8a818a3)
2 files changed