OSDN Git Service

Defer showing pip menu activity until pip animation ends
authorWale Ogunwale <ogunwale@google.com>
Mon, 17 Apr 2017 21:16:43 +0000 (14:16 -0700)
committerWale Ogunwale <ogunwale@google.com>
Mon, 17 Apr 2017 23:19:45 +0000 (16:19 -0700)
commit6455e500b878b0367a629d6f0e262154116010c0
treef0cb2f46ddaecb5743041961dd755b2429028f9e
parent1ed27714509853831e2d4e5b3098b643ccc164c4
Defer showing pip menu activity until pip animation ends

This was causes additional churn in the system delaying the visibility
of the activity behind the one we are pipping. We now delay starting the
pip menu activity until the enter pip animation is done.
This doesn't fix the real issue where we don't wait for app transition
to be finished before starting pip, but it does make it much harder to
the user to trigger the case. Will do that in a follow-up CL.

Test: manual
Bug: 37420370
Change-Id: Ic0271d693d45c3e414b3abdf0ad24be44ff5ae5c
packages/SystemUI/src/com/android/systemui/pip/phone/PipTouchHandler.java