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

Commit fe1f3a1b authored by Jeff Brown's avatar Jeff Brown Committed by Gerrit Code Review
Browse files

Merge "Fix ViewRootImpl to find missing focus using D-pad."

parents 69abccc3 4ef158ba
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3793,6 +3793,13 @@ public final class ViewRootImpl implements ViewParent,
                        finishInputEvent(q, true);
                        return;
                    }
                } else {
                    // find the best view to give focus to in this non-touch-mode with no-focus
                    View v = focusSearch(null, direction);
                    if (v != null && v.requestFocus(direction)) {
                        finishInputEvent(q, true);
                        return;
                    }
                }
            }
        }