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

Commit b1ecd6db authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE in NotificationRemoteInputManager logging" into rvc-dev am: cc406446

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12013471

Change-Id: I72a0db76b488123b11148c0f4d8fb61ce8c97f1a
parents e80a0f9b cc406446
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -181,11 +181,11 @@ public class NotificationRemoteInputManager implements Dumpable {
                return;
            }
            ViewParent parent = view.getParent();
            StatusBarNotification statusBarNotification = entry.getSbn();
            if (statusBarNotification == null) {
            if (entry == null) {
                Log.w(TAG, "Couldn't determine notification for click.");
                return;
            }
            StatusBarNotification statusBarNotification = entry.getSbn();
            String key = statusBarNotification.getKey();
            int buttonIndex = -1;
            // If this is a default template, determine the index of the button.