diff --git a/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java b/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java index 96e994b052..6ff2ec660b 100644 --- a/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java +++ b/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java @@ -169,10 +169,12 @@ public class BaseRecyclerViewFastScrollBar { break; case MotionEvent.ACTION_UP: case MotionEvent.ACTION_CANCEL: - mIsDragging = false; mTouchOffset = 0; - mPopup.animateVisibility(false); - animateScrollbar(false); + if (mIsDragging) { + mIsDragging = false; + mPopup.animateVisibility(false); + animateScrollbar(false); + } break; } }