summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik <epastern@google.com>2010-11-21 20:08:06 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-21 20:08:06 -0800
commit3644bf11bf42ba694bf71d312947c85fa5f84daa (patch)
treefd7d2c8c90495fa79c01c139ba90b8228a7f3505
parent79418114d372ae5a1ea1965beabbee13fcae6702 (diff)
parentb43d6a30ad1e7bf0e64192a1f144b3fe1bcf7f95 (diff)
downloadframeworks_base-3644bf11bf42ba694bf71d312947c85fa5f84daa.zip
frameworks_base-3644bf11bf42ba694bf71d312947c85fa5f84daa.tar.gz
frameworks_base-3644bf11bf42ba694bf71d312947c85fa5f84daa.tar.bz2
Merge "b/3215774 Fix scrollMode notifications"
-rw-r--r--core/java/android/widget/AbsListView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/AbsListView.java b/core/java/android/widget/AbsListView.java
index a3e9bc9..70cfee9 100644
--- a/core/java/android/widget/AbsListView.java
+++ b/core/java/android/widget/AbsListView.java
@@ -2542,7 +2542,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
mTouchMode = TOUCH_MODE_SCROLL;
mMotionCorrection = 0;
motionPosition = findMotionRow(y);
- reportScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL);
mFlingRunnable.flywheelTouch();
}
}
@@ -2968,6 +2967,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
} else {
endFling();
mTouchMode = TOUCH_MODE_SCROLL;
+ reportScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL);
}
}
};