Merge change 3480 into donut

* changes:
  Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
This commit is contained in:
Android (Google) Code Review
2009-06-08 14:59:13 -07:00
2 changed files with 184 additions and 193 deletions

View File

@@ -583,13 +583,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> 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();

File diff suppressed because it is too large Load Diff