Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e717892d authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Automerger Merge Worker
Browse files

Merge "Skip moving PiP for IME/shelf change if user is dragging." into...

Merge "Skip moving PiP for IME/shelf change if user is dragging." into tm-qpr-dev am: d04f92f2 am: 2d4b3f6d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20291084



Change-Id: I3474dc8b2376b5194acfd3d3091e8cf7925addba
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 6923e065 2d4b3f6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -427,7 +427,7 @@ public class PipTouchHandler {
        // If this is from an IME or shelf adjustment, then we should move the PiP so that it is not
        // occluded by the IME or shelf.
        if (fromImeAdjustment || fromShelfAdjustment) {
            if (mTouchState.isUserInteracting()) {
            if (mTouchState.isUserInteracting() && mTouchState.isDragging()) {
                // Defer the update of the current movement bounds until after the user finishes
                // touching the screen
            } else if (ENABLE_PIP_KEEP_CLEAR_ALGORITHM) {