diff --git a/core/java/android/widget/AbsListView.java b/core/java/android/widget/AbsListView.java index f62487f06c72d..c0fa64f445a96 100644 --- a/core/java/android/widget/AbsListView.java +++ b/core/java/android/widget/AbsListView.java @@ -583,13 +583,7 @@ public abstract class AbsListView extends AdapterView implements Te boolean smoothScrollbar = a.getBoolean(R.styleable.AbsListView_smoothScrollbar, true); setSmoothScrollbarEnabled(smoothScrollbar); - int defaultGestures = GESTURES_NONE; - if (useTextFilter) { - defaultGestures = GESTURES_FILTER; - } else if (enableFastScroll) { - defaultGestures = GESTURES_JUMP; - } - int gestures = a.getInt(R.styleable.AbsListView_gestures, defaultGestures); + int gestures = a.getInt(R.styleable.AbsListView_gestures, GESTURES_NONE); setGestures(gestures); a.recycle(); diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 8c4b714c218c7..7a1603625fc1d 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -79,7 +79,7 @@ - + @@ -97,9 +97,9 @@ - - - + + + @@ -669,7 +669,7 @@ - + @@ -1386,12 +1386,9 @@ + fast scroll to be enabled. --> - + @@ -2848,16 +2845,16 @@ string will be placed in the data field of the {@link android.content.Intent Intent} when the user clicks a suggestion. Optional attribute. --> - + - + - + @@ -3316,6 +3312,5 @@ -