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

Commit 044fd54e authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Android (Google) Code Review
Browse files

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

parents 74daba5a dcf8a9c0
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;