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

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

Merge "Redirect shelf height requests into keep clear area registration" into udc-qpr-dev

parents 53e91c63 00a2de43
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -939,6 +939,11 @@ public class PipController implements PipTransitionController.PipTransitionCallb
     * Sets both shelf visibility and its height.
     */
    private void setShelfHeight(boolean visible, int height) {
        if (mEnablePipKeepClearAlgorithm) {
            // turn this into Launcher keep clear area registration instead
            setLauncherKeepClearAreaHeight(visible, height);
            return;
        }
        if (!mIsKeyguardShowingOrAnimating) {
            setShelfHeightLocked(visible, height);
        }