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

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

Merge "Always invoke show on the dismiss target for pip." into tm-qpr-dev am: b8c71330

parents 40274bf8 b8c71330
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -288,8 +288,10 @@ public class PipDismissTargetHandler implements ViewTreeObserver.OnPreDrawListen

        if (mTargetViewContainer.getVisibility() != View.VISIBLE) {
            mTargetViewContainer.getViewTreeObserver().addOnPreDrawListener(this);
            mTargetViewContainer.show();
        }
        // always invoke show, since the target might still be VISIBLE while playing hide animation,
        // so we want to ensure it will show back again
        mTargetViewContainer.show();
    }

    /** Animates the magnetic dismiss target out and then sets it to GONE. */