Ensure app is still touchable until the recents gesture has started
- When the recents animation starts, we start consuming touches from the
app using the registered input consumer. As a result, we should only mark
the window as able to receive touches until this is the case, otherwise
a single tap in the gesture area (which starts the recents animation)
would immediately mark the window as not-touchable.
- Fix regression where RecentsAnimationController.isAnimatingApp() returned
early instead of going through all the tasks
Test: atest WindowInsetsBehaviorTests
Test: atest WindowStateTests
Test: Verify that b/138622418 is still fixed, swipe up and immediately
swipe from edges (expect no back feedback)
Change-Id: Id82f2786451c9b44859b80dc0beff6eb5a55b331
3 files changed