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

Commit b851fee8 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Fix NPE in NotificationRow

Fixes: 171461675
Test: SystemUITests
Change-Id: Iff04960d33f12abd203daa2ce519ba2ccae84f01
parent 617a0256
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2856,7 +2856,8 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        }
        float x = event.getX();
        float y = event.getY();
        NotificationHeaderView header = getVisibleNotificationViewWrapper().getNotificationHeader();
        NotificationViewWrapper wrapper = getVisibleNotificationViewWrapper();
        NotificationHeaderView header = wrapper == null ? null : wrapper.getNotificationHeader();
        if (header != null && header.isInTouchRect(x - getTranslation(), y)) {
            return true;
        }