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

Fix issue with double tapping PiP

- This is only an issue when double tapping while the menu is visible in
  the initial close state. The problem was that in a double tap, the first
  tap could trigger a move as the activity is actively resized, which
  triggers the input consumer to be re-registered.  Then the subsequent
  tap will trigger an unexpected expand on touch up, which then can
  conflict when the menu gets resized down to the unexpanded state.

  For now, when expanding to/from the expanded state, disallow touches
  until after the animation ends, like we do in the input consumer touch
  handler.

Bug: 37657050
Test: Double tap the PIP when it is unexpanded, ensure that it expands
Change-Id: Ib68bcb80a54a801181f02ff73e7188678a26dd9b
parent 2d5c0d89
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