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

Commit e891a115 authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Only send a direction key if we are not in touch mode." into honeycomb

parents fe38b7b7 572ba782
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6835,7 +6835,7 @@ public class WebView extends AbsoluteLayout
                    previouslyFocusedRect);
        } else {
            result = super.requestFocus(direction, previouslyFocusedRect);
            if (mWebViewCore.getSettings().getNeedInitialFocus()) {
            if (mWebViewCore.getSettings().getNeedInitialFocus() && !isInTouchMode()) {
                // For cases such as GMail, where we gain focus from a direction,
                // we want to move to the first available link.
                // FIXME: If there are no visible links, we may not want to