Skip to content
Commit dc4edb83 authored by Winson Chung's avatar Winson Chung
Browse files

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
parent 665896e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment