Merge "Refresh call shortcut when returning to the dialer" into klp-dev
diff --git a/src/com/android/dialer/list/PhoneFavoriteFragment.java b/src/com/android/dialer/list/PhoneFavoriteFragment.java
index 828ca70..eca4d97 100644
--- a/src/com/android/dialer/list/PhoneFavoriteFragment.java
+++ b/src/com/android/dialer/list/PhoneFavoriteFragment.java
@@ -399,6 +399,9 @@
public void onPause() {
// If there are any pending contact entries that are to be removed, remove them
mContactTileAdapter.removePendingContactEntry();
+ // Wipe the cache to refresh the call shortcut item. This is not that expensive because
+ // it only contains one item.
+ mCallLogAdapter.invalidateCache();
super.onPause();
}