Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfcd23e6 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where Notifications could overlap

Change-Id: Ic7f9599cee95411e1207b609e584038ad8cb4d99
Fixes: 28550654
parent aa8bbf1a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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());
        }
    }