Merge "Fixed a bug where Notifications could overlap" into nyc-dev
This commit is contained in:
@@ -2342,9 +2342,9 @@ public class NotificationStackScrollLayout extends ViewGroup
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateHideSensitiveForChild(View child) {
|
private void updateHideSensitiveForChild(View child) {
|
||||||
if (mAmbientState.isHideSensitive() && child instanceof ExpandableView) {
|
if (child instanceof ExpandableView) {
|
||||||
ExpandableView expandableView = (ExpandableView) child;
|
ExpandableView expandableView = (ExpandableView) child;
|
||||||
expandableView.setHideSensitiveForIntrinsicHeight(true);
|
expandableView.setHideSensitiveForIntrinsicHeight(mAmbientState.isHideSensitive());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user