commit | 3b9d09c50b6ed52cbfe6d87cee06ecef5116d799 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Thu Sep 26 19:40:55 2013 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Thu Sep 26 19:40:55 2013 -0700 |
tree | 497fb4cd248caa584393065362b26410e1851c82 | |
parent | 36df59e08b1d886da71f90ea4aff97533d43227e [diff] |
Refresh call shortcut when returning to the dialer Bug: 10951409 Change-Id: Ieb39e5f939736be8bc10690f322ef5e43ce81027
diff --git a/src/com/android/dialer/list/PhoneFavoriteFragment.java b/src/com/android/dialer/list/PhoneFavoriteFragment.java index aa81858..73fa6df 100644 --- a/src/com/android/dialer/list/PhoneFavoriteFragment.java +++ b/src/com/android/dialer/list/PhoneFavoriteFragment.java
@@ -435,6 +435,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(); }