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

Commit ae9f8e4a authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Request focus when MotionEvent.ACTION_UP is received.

Bug 2585857

Change-Id: I2e852d2225db4d1ba48815354a31e0823e4d3a8d
parent 6f537a99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4880,6 +4880,7 @@ public class WebView extends AbsoluteLayout
                break;
            }
            case MotionEvent.ACTION_UP: {
                if (!isFocused()) requestFocus();
                // pass the touch events from UI thread to WebCore thread
                if (shouldForwardTouchEvent()) {
                    TouchEventData ted = new TouchEventData();