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

Commit 92bb93eb authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Remove an unnecessary sanity check"

parents 10b6f68d 3f1679cb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -269,9 +269,8 @@ final class WebViewInputDispatcher {
     */
    public boolean postPointerEvent(MotionEvent event,
            int webKitXOffset, int webKitYOffset, float webKitScale) {
        if (event == null
                || (event.getSource() & InputDevice.SOURCE_CLASS_POINTER) == 0) {
            throw new IllegalArgumentException("event must be a pointer event");
        if (event == null) {
            throw new IllegalArgumentException("event cannot be null");
        }

        if (DEBUG) {