Fix issue with PiP menu activity disallowing touches
- On devices where the expanded bounds are the same as the collapsed
bounds, there is no task stack animation and no subsequent animation
end callback, which means that touch state is not reset. Skip
disallowing touches in this state.
- Also fix race causing the PiP menu to ignore touches due to the pinned
animation end callback happening before the menu is first shown.
Bug: 65168767
Test: Tap menu on Ryu, rotate, and try and drag the PiP before the menu
times out
Change-Id: I0b264678aa3300fd4d4e9da5ef3d48a590232ae1
3 files changed