Merge "Make the header invisible when customizing" into sc-dev am: f99de68576 am: 66197369e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14847778 Change-Id: I4f11fe74d3508877d531a98e517d68bdc76c8335
This commit is contained in:
@@ -615,10 +615,10 @@ public class QSFragment extends LifecycleFragment implements QS, CommandQueue.Ca
|
|||||||
public void notifyCustomizeChanged() {
|
public void notifyCustomizeChanged() {
|
||||||
// The customize state changed, so our height changed.
|
// The customize state changed, so our height changed.
|
||||||
mContainer.updateExpansion();
|
mContainer.updateExpansion();
|
||||||
mQSPanelScrollView.setVisibility(!mQSCustomizerController.isCustomizing() ? View.VISIBLE
|
boolean customizing = isCustomizing();
|
||||||
: View.INVISIBLE);
|
mQSPanelScrollView.setVisibility(!customizing ? View.VISIBLE : View.INVISIBLE);
|
||||||
mFooter.setVisibility(
|
mFooter.setVisibility(!customizing ? View.VISIBLE : View.INVISIBLE);
|
||||||
!mQSCustomizerController.isCustomizing() ? 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
|
// Let the panel know the position changed and it needs to update where notifications
|
||||||
// and whatnot are.
|
// and whatnot are.
|
||||||
mPanelView.onQsHeightChanged();
|
mPanelView.onQsHeightChanged();
|
||||||
|
|||||||
Reference in New Issue
Block a user