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

Commit 489039c3 authored by Shawn Lee's avatar Shawn Lee Committed by Android (Google) Code Review
Browse files

Merge "Revert "[flexiglass] Fixes QS header never being set invisible when unlocked."" into main

parents 34d21813 cfd6545b
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ import android.util.Log;
import android.util.MathUtils;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.WindowInsets;
@@ -464,9 +463,6 @@ public class QuickSettingsControllerImpl implements QuickSettingsController, Dum
        mJavaAdapter.alwaysCollectFlow(
                mCommunalTransitionViewModelLazy.get().isUmoOnCommunal(),
                this::setShouldUpdateSquishinessOnMedia);
        mJavaAdapter.alwaysCollectFlow(
                mShadeInteractor.isAnyExpanded(),
                this::onAnyExpandedChanged);
    }

    private void initNotificationStackScrollLayoutController() {
@@ -486,10 +482,6 @@ public class QuickSettingsControllerImpl implements QuickSettingsController, Dum
        }
    }

    private void onAnyExpandedChanged(boolean isAnyExpanded) {
        mQsFrame.setVisibility(isAnyExpanded ? View.VISIBLE : View.INVISIBLE);
    }

    private void onNotificationScrolled(int newScrollPosition) {
        updateExpansionEnabledAmbient();
    }