From 6903d9813bd693fe44afb4d5989b58df17c12a44 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 20 Mar 2015 17:38:20 -0700 Subject: 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 --- src/com/android/dialer/calllog/CallLogFragment.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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(); } } -- cgit v1.2.3