diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-27 18:36:44 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-27 18:36:45 +0000 |
commit | abacad16b627aa6d9c6c5d1741b7fb3f6eb27f6b (patch) | |
tree | 27dfb589ef7e8212b1a1525396fd0d8d40e9bb9d | |
parent | b4680c5b453d0c4028b34bf9dcd28ec76922e095 (diff) | |
parent | 3b9d09c50b6ed52cbfe6d87cee06ecef5116d799 (diff) |
Merge "Refresh call shortcut when returning to the dialer" into klp-dev
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteFragment.java b/src/com/android/dialer/list/PhoneFavoriteFragment.java index 828ca70d4..eca4d971f 100644 --- a/src/com/android/dialer/list/PhoneFavoriteFragment.java +++ b/src/com/android/dialer/list/PhoneFavoriteFragment.java @@ -399,6 +399,9 @@ public class PhoneFavoriteFragment extends Fragment implements OnItemClickListen 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(); } |