summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2010-12-15 10:49:12 -0800
committerMichael Kolb <kolby@google.com>2010-12-15 10:49:20 -0800
commita50c446037eecaa2dcd83dab133bd9dc390ede69 (patch)
treee0b44cf01c38a9cbf2d5093a3ad3db2963d27f10
parentcfa3af5c59abb38c895416a80ef16da0ec1b5287 (diff)
downloadpackages_apps_Browser-a50c446037eecaa2dcd83dab133bd9dc390ede69.zip
packages_apps_Browser-a50c446037eecaa2dcd83dab133bd9dc390ede69.tar.gz
packages_apps_Browser-a50c446037eecaa2dcd83dab133bd9dc390ede69.tar.bz2
Fix annoying suggestions flashing
Voice search mode re-introduced the suggestions to flash This change fixes it Change-Id: Ic19cdcd1de6d27c216edc7bb48b0d3a210c19181
-rw-r--r--src/com/android/browser/SuggestionsAdapter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/browser/SuggestionsAdapter.java b/src/com/android/browser/SuggestionsAdapter.java
index 4c0217c..260da6e 100644
--- a/src/com/android/browser/SuggestionsAdapter.java
+++ b/src/com/android/browser/SuggestionsAdapter.java
@@ -94,8 +94,7 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable, OnCli
void setVoiceResults(List<String> voiceResults) {
mVoiceResults = voiceResults;
- notifyDataSetInvalidated();
-
+ notifyDataSetChanged();
}
public void setLandscapeMode(boolean mode) {