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

Commit 3705b22c authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Adding null check to prevent monkey crash. (5263199)"

parents 2295cc77 45d378b7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1401,7 +1401,9 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
                if (event.getRepeatCount() > 0) break;
                if (featureId < 0) break;
                // Currently don't do anything with long press.
                if (dispatcher != null) {
                    dispatcher.startTracking(event, this);
                }
                return true;
            }