QS: Fix expanding on closing detail
Change-Id: I21f3baf76c956ee3679bd33cbde9859f181cc7eb Fixes: 30215042
This commit is contained in:
@@ -146,7 +146,9 @@ public class QSContainer extends FrameLayout {
|
|||||||
return getHeight();
|
return getHeight();
|
||||||
}
|
}
|
||||||
if (mQSDetail.isClosingDetail()) {
|
if (mQSDetail.isClosingDetail()) {
|
||||||
return mQSPanel.getGridHeight() + mHeader.getCollapsedHeight() + getPaddingBottom();
|
int panelHeight = ((LayoutParams) mQSPanel.getLayoutParams()).topMargin
|
||||||
|
+ mQSPanel.getMeasuredHeight();
|
||||||
|
return panelHeight + getPaddingBottom();
|
||||||
} else {
|
} else {
|
||||||
return getMeasuredHeight();
|
return getMeasuredHeight();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user