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

Commit b4bb6d5f authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

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

am: c59cb01c

* commit 'c59cb01c':
  Don't close RemoteInputView on window focus loss
parents ff400f32 c59cb01c
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) {