diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-30 17:08:25 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-30 17:08:25 -0700 |
commit | bf947b27f7d8059536f11167271728656d4c8ed2 (patch) | |
tree | 9743a9be1d429c35826148d7e6112e457b221b20 | |
parent | 20667584832567371bd43c5eb67b42817e7dbb17 (diff) | |
parent | abacad16b627aa6d9c6c5d1741b7fb3f6eb27f6b (diff) |
am abacad16: Merge "Refresh call shortcut when returning to the dialer" into klp-dev
* commit 'abacad16b627aa6d9c6c5d1741b7fb3f6eb27f6b':
Refresh call shortcut when returning to the dialer
-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(); } |