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

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

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

This reverts commit 39fc1171.

Reason for revert: b/365234590

Change-Id: I992116cea5118cbbb7981a4ea1d9b6e39c2cc59a
parent 39fc1171
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();
    }