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