OSDN Git Service

Fix for edge swipe/fling to minimize
authorMady Mellor <madym@google.com>
Mon, 27 Mar 2017 21:10:46 +0000 (14:10 -0700)
committerMady Mellor <madym@google.com>
Mon, 27 Mar 2017 21:12:39 +0000 (14:12 -0700)
commit84a0f8936d0a993576a0da3a1c703e4f9198bfd3
tree59fa8d6ceea17f9cb9f8c7e80a8ffde3c5d77b6f
parente259c2c42be68fa2ead28eeed1df5042452d0eae
Fix for edge swipe/fling to minimize

- Actually include check for fling
- Base left or right side on starting position instead of current position

Test:  Long quick swipe PIP from opposite edge of screen -> no longer minimizes
Bug:35358628
Change-Id: I7cd62b94943afe28b89a8bcb0e0cab58bc0841a9
packages/SystemUI/src/com/android/systemui/pip/phone/PipTouchHandler.java