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

Commit 7b5e3ff5 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am d8158096: am eadd2134: Merge "Focus security fields before widgets." into klp-dev

* commit 'd8158096':
  Focus security fields before widgets.
parents 96c687d0 d8158096
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1003,6 +1003,16 @@ public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout
        }
    }

    @Override
    protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
        // Focus security fileds before widgets.
        if (mChallengeView != null &&
                mChallengeView.requestFocus(direction, previouslyFocusedRect)) {
            return true;
        }
        return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
    }

    public void computeScroll() {
        super.computeScroll();