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

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

Fixed a NP when clearing notifications

The clipbounds could be null sometimes

Change-Id: I5a8e9ca3cdd8d58d350779a9afdbed6df9ad6062
Fixes: 68848476
Test: manual
parent 404f8103
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3065,7 +3065,7 @@ public class NotificationStackScrollLayout extends ViewGroup
            }
            if (!childWasSwipedOut) {
                Rect clipBounds = child.getClipBounds();
                childWasSwipedOut = clipBounds.height() == 0;
                childWasSwipedOut = clipBounds != null && clipBounds.height() == 0;
            }
            int animationType = childWasSwipedOut
                    ? AnimationEvent.ANIMATION_TYPE_REMOVE_SWIPED_OUT