summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-03-20 17:38:20 -0700
committerAndrew Lee <anwlee@google.com>2015-03-20 17:38:20 -0700
commit6903d9813bd693fe44afb4d5989b58df17c12a44 (patch)
tree7ff2892a89571857399488ac88fada83991ca78e /src
parentf181b45d59f114c72e71053f9390f3b83034d881 (diff)
Notify adapter of data set change onResume.
Even if we don't need to reload the data, refresh the list view with the data we currently have. We display the call log times using text descriptions relative to the present. This refresh updates those descriptions. Bug: 19653523 Change-Id: Ib5bc79d52946baabac86c2b9459ab66901d5615b
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/calllog/CallLogFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/CallLogFragment.java b/src/com/android/dialer/calllog/CallLogFragment.java
index f84d75b39..6d07301df 100644
--- a/src/com/android/dialer/calllog/CallLogFragment.java
+++ b/src/com/android/dialer/calllog/CallLogFragment.java
@@ -466,6 +466,9 @@ public class CallLogFragment extends ListFragment
updateOnTransition(true /* onEntry */);
mRefreshDataRequired = false;
+ } else {
+ // Refresh the display of the existing data to update the timestamp text descriptions.
+ mAdapter.notifyDataSetChanged();
}
}