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

Commit 57445801 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Prevent NPE occuring when clearing all notifications.

TODO: possibly move ViewState to the views' tags so that
the lifecycle of the state is tied directly to the view.

Bug: 115567862
Change-Id: I130035738d7d7e6df59f2267dd005d9d3265e90c
Test: Tested on device.
parent 4ca58b43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4844,7 +4844,7 @@ public class NotificationStackScrollLayout extends ViewGroup
            activatedChild.makeInactive(false /* animate */);
        }
        updateFooter();
        updateChildren();
        requestChildrenUpdate();
        onUpdateRowStates();

        mEntryManager.updateNotifications();