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

Commit 3ead7932 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Automerger Merge Worker
Browse files

Merge "Make the header invisible when customizing" into sc-dev am: f99de685

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14847778

Change-Id: I3a9370d642a55cfa5ec9d2a0c1024c65881a8a7a
parents a16ef7b4 f99de685
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -615,10 +615,10 @@ public class QSFragment extends LifecycleFragment implements QS, CommandQueue.Ca
    public void notifyCustomizeChanged() {
        // The customize state changed, so our height changed.
        mContainer.updateExpansion();
        mQSPanelScrollView.setVisibility(!mQSCustomizerController.isCustomizing() ? View.VISIBLE
                : View.INVISIBLE);
        mFooter.setVisibility(
                !mQSCustomizerController.isCustomizing() ? View.VISIBLE : View.INVISIBLE);
        boolean customizing = isCustomizing();
        mQSPanelScrollView.setVisibility(!customizing ? View.VISIBLE : View.INVISIBLE);
        mFooter.setVisibility(!customizing ? View.VISIBLE : View.INVISIBLE);
        mHeader.setVisibility(!customizing ? View.VISIBLE : View.INVISIBLE);
        // Let the panel know the position changed and it needs to update where notifications
        // and whatnot are.
        mPanelView.onQsHeightChanged();