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

Commit c59cb01c authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "Don't close RemoteInputView on window focus loss" into nyc-dev

parents 8064b4a6 967f6199
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -248,10 +248,12 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
        }

        @Override
        protected void onFocusLost() {
            super.onFocusLost();
        protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) {
            super.onFocusChanged(focused, direction, previouslyFocusedRect);
            if (!focused) {
                defocusIfNeeded();
            }
        }

        @Override
        public boolean requestRectangleOnScreen(Rect r) {