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

Commit 2e689113 authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in NotificationRow"

parents f547d576 b851fee8
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;
        }