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

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

Fixed a bug where group children where not expandable

Bug: 27417777
Change-Id: I57368f18b810bc9f6fc7c08c0f7fb038743b528d
parent 74db5904
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1052,6 +1052,14 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {

    public void setHideSensitiveForIntrinsicHeight(boolean hideSensitive) {
        mHideSensitiveForIntrinsicHeight = hideSensitive;
        if (mIsSummaryWithChildren) {
            List<ExpandableNotificationRow> notificationChildren =
                    mChildrenContainer.getNotificationChildren();
            for (int i = 0; i < notificationChildren.size(); i++) {
                ExpandableNotificationRow child = notificationChildren.get(i);
                child.setHideSensitiveForIntrinsicHeight(hideSensitive);
            }
        }
    }

    public void setHideSensitive(boolean hideSensitive, boolean animated, long delay,