OSDN Git Service

Ensure that we hide the menu without resizing when expanding.
authorWinson Chung <winsonc@google.com>
Thu, 4 May 2017 22:06:18 +0000 (15:06 -0700)
committerWinson Chung <winsonc@google.com>
Thu, 4 May 2017 23:17:28 +0000 (16:17 -0700)
commit79f852e7a784a6c1721fcea0936d98098f9359b9
treee9171c034705be5c01ec1acf022d10c7920dd381
parent07672353a57ceae60b67562acef6aa3a83805cb6
Ensure that we hide the menu without resizing when expanding.

- This should be done when expanding/dismissing from the menu activity,
  otherwise the menu state change can cause a stack-resize animation that
  clobbers the expand or dismiss animation.

Bug: 37650245
Test: Launch Duo in PIP, end call from notification tray
Change-Id: Ie880715ae7be28a4fe2dd0d294e369b62e776c35
packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java
packages/SystemUI/src/com/android/systemui/pip/phone/PipMotionHelper.java
packages/SystemUI/src/com/android/systemui/pip/phone/PipTouchHandler.java