summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-02-05 21:36:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-02-05 21:36:44 +0000
commitaf11e78aecf0c07ae8960210f6c18377035a2c70 (patch)
tree112ba604d996994bc351813eb3129c1312cd84f4 /src
parentdf1717bb6627099dfbf67b3d9b03b3cbe53ee967 (diff)
parent24506db412615a318894c2d37b8a1ca0b0152e4c (diff)
Merge "Don't show old matches if no smartdial matches found"
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/dialpad/DialpadFragment.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java
index 77aa57a04..b862f7678 100644
--- a/src/com/android/dialer/dialpad/DialpadFragment.java
+++ b/src/com/android/dialer/dialpad/DialpadFragment.java
@@ -1698,8 +1698,7 @@ public class DialpadFragment extends Fragment
@Override
public void setSmartDialAdapterEntries(List<SmartDialEntry> data) {
- if (data == null || data.isEmpty()) {
- // No results found. Keep the last results.
+ if (data == null) {
return;
}
mSmartDialAdapter.setEntries(data);