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
3 files changed