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

Commit 8a7e177b authored by John Reck's avatar John Reck
Browse files

Add destroyed check

 Bug: 6350066

Change-Id: Icf077bcf9678a036a669124c27e56e191a935960
parent a0e9d0f6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1772,6 +1772,9 @@ public final class WebViewCore {

        @Override
        public boolean dispatchWebKitEvent(MotionEvent event, int eventType, int flags) {
            if (mNativeClass == 0) {
                return false;
            }
            switch (eventType) {
                case WebViewInputDispatcher.EVENT_TYPE_CLICK:
                    return nativeMouseClick(mNativeClass);