Disabling fast scroller when searching apps.
- There is no meaningful order for the app search results since they are ranked. Bug: 23759082 Change-Id: I0aa4eea68136ea3ecef2a80b20ba7b0d46f0653b
This commit is contained in:
1 parent
7412c3cb00
commit
646c236ad2
3 files changed
+16
-1
No files matched your search
@@ -189,7 +189,8 @@ public class BaseRecyclerViewFastScrollBar {
|
||||
// Check if we should start scrolling, but ignore this fastscroll gesture if we have
|
||||
// exceeded some fixed movement
|
||||
mIgnoreDragGesture |= Math.abs(y - downY) > config.getScaledPagingTouchSlop();
|
||||
if (!mIsDragging && !mIgnoreDragGesture && isNearThumb(downX, lastY) &&
|
||||
if (!mIsDragging && !mIgnoreDragGesture && mRv.supportsFastScrolling() &&
|
||||
isNearThumb(downX, lastY) &&
|
||||
Math.abs(y - downY) > config.getScaledTouchSlop()) {
|
||||
mRv.getParent().requestDisallowInterceptTouchEvent(true);
|
||||
mIsDragging = true;
|
||||
|
||||
Reference in new issue
Block a user