Merge "Don't show old matches if no smartdial matches found"
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java
index 77aa57a..b862f76 100644
--- a/src/com/android/dialer/dialpad/DialpadFragment.java
+++ b/src/com/android/dialer/dialpad/DialpadFragment.java
@@ -1698,8 +1698,7 @@
@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);