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

Commit 8e0c4981 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where children were not / incorrectly userlocked

This can lead to all sorts of weird behavior

Bug: 24866646
Change-Id: If3395c5f1b524592cd658a57ac91d2a0fe893011
parent 898d173b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -167,6 +167,7 @@ public class NotificationChildrenContainer extends ViewGroup {
        int newIndex = childIndex < 0 ? mChildren.size() : childIndex;
        mChildren.add(newIndex, row);
        addView(row);
        row.setUserLocked(mUserLocked);

        View divider = inflateDivider();
        addView(divider);
@@ -191,6 +192,7 @@ public class NotificationChildrenContainer extends ViewGroup {
        });

        row.setSystemChildExpanded(false);
        row.setUserLocked(false);
        updateGroupOverflow();
    }