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

Commit 4b748464 authored by Becky Qiu's avatar Becky Qiu Committed by Automerger Merge Worker
Browse files

Merge "Hide keyboard when thumb scroller is visible." into tm-dev am: d6d0dc3c am: ae9ab8a8

parents f08d48fa ae9ab8a8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -285,8 +285,6 @@ public class RecyclerViewFastScroller extends View {
                }
                break;
            case MotionEvent.ACTION_UP:
                hideKeyboardAsync(ActivityContext.lookupContext(getContext()),
                        getApplicationWindowToken());
            case MotionEvent.ACTION_CANCEL:
                mRv.onFastScrollCompleted();
                mTouchOffsetY = 0;
@@ -310,6 +308,7 @@ public class RecyclerViewFastScroller extends View {
    }

    private void calcTouchOffsetAndPrepToFastScroll(int downY, int lastY) {
        hideKeyboardAsync(ActivityContext.lookupContext(getContext()), getWindowToken());
        mIsDragging = true;
        if (mCanThumbDetach) {
            mIsThumbDetached = true;