diff options
author | Yorke Lee <yorkelee@google.com> | 2013-02-05 12:28:25 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-02-05 12:28:25 -0800 |
commit | 24506db412615a318894c2d37b8a1ca0b0152e4c (patch) | |
tree | 12b45d8ae678fbf566d1b6cccf92839157640971 | |
parent | 697fa0977ea1d4569064c434bb86e9b9fbfc4b12 (diff) |
Don't show old matches if no smartdial matches found
Change-Id: If851c291273aa5296f1d59edccc83e6d4019be76
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 3 |
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); |