OSDN Git Service

Fix PIP window going offset in landscape mode.
authorTracy Zhou <tracyzhou@google.com>
Tue, 3 Apr 2018 01:19:43 +0000 (18:19 -0700)
committerTracy Zhou <tracyzhou@google.com>
Tue, 3 Apr 2018 01:30:23 +0000 (18:30 -0700)
commit4b696821d58f3c3d13f39992a382d411a5281a9d
treed9752e2e57ea2d49cc4bcc732af7baac9ac6b5f3
parentea31cbea935a20d9d290453c2ba2f8b8670e45ca
Fix PIP window going offset in landscape mode.

In landscape mode, PIP window can go offset while launching IME. We want to align the top of the PIP window with the top of the movement bounds in that case.

Change-Id: I7e89538c9a51d78294037b474caedcdf31edf7c4
Fixes: 77337070
Test: Manual test
packages/SystemUI/src/com/android/systemui/pip/phone/PipTouchHandler.java