commit | 2684d5e7d7f0b698c631f27b099760fae33e84ba | [log] [tgz] |
---|---|---|
author | John Spurlock <jspurlock@google.com> | Wed May 28 20:27:44 2014 -0400 |
committer | John Spurlock <jspurlock@google.com> | Thu May 29 08:49:41 2014 -0400 |
tree | cec4d0f604e9dba977e010ae24cd14c263f928d7 | |
parent | 7ee26070eaa4a8b1cde8e265c7136fba7e79a172 [diff] [blame] |
QuickSettings: Basic content-resizing for detail panel. Also remove toggle from zen tile + fix bottom padding. Bug:15315490 Change-Id: Ib839b9280ce60d2f51e4c0c46e41a7743e7ec8f6
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 0c27ab0..802e5e5 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -164,7 +164,9 @@ // Calculate quick setting heights. mQsMinExpansionHeight = mHeader.getCollapsedHeight() + mQsPeekHeight; mQsMaxExpansionHeight = mHeader.getExpandedHeight() + mQsContainer.getHeight(); - if (!mQsExpanded) { + if (mQsExpanded) { + setQsStackScrollerPadding(mQsMaxExpansionHeight); + } else { setQsExpansion(mQsMinExpansionHeight); positionClockAndNotifications(); mNotificationStackScroller.setStackHeight(getExpandedHeight());