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

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

Merge "Don't add a dismiss target to WM if we're not in PiP." into tm-qpr-dev...

Merge "Don't add a dismiss target to WM if we're not in PiP." into tm-qpr-dev am: 044fd54e am: 080866a5

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



Change-Id: I88bba058134f8d45e0fb8ef84856fba7b4162807
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 643bda9d 080866a5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -337,9 +337,11 @@ public class PipTouchHandler {
        mMotionHelper.synchronizePinnedStackBounds();
        reloadResources();

        if (mPipTaskOrganizer.isInPip()) {
            // Recreate the dismiss target for the new orientation.
            mPipDismissTargetHandler.createOrUpdateDismissTarget();
        }
    }

    public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {
        mIsImeShowing = imeVisible;