Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49e377c3 authored by Danny Baumann's avatar Danny Baumann
Browse files

Refresh adapter on resuming, so that call dates are updated.

When not doing this, the call dates might be wrong (they might e.g. say
'5 minutes ago' even though the call was 2 hours ago).

Change-Id: I44b797e7d09fcfe5ad1745e6b4d2cba2639c1650
JIRA:CYAN-1455
parent ef264980
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -417,9 +417,12 @@ public class CallLogFragment extends ListFragment
            mAdapter.invalidateCache();
            startCallsQuery();
            startVoicemailStatusQuery();
            updateOnEntry();
            mRefreshDataRequired = false;
        } else {
            // make adapter refresh, so call dates are updated
            mAdapter.notifyDataSetChanged();
        }
        updateOnEntry();
    }

    /** Updates call data and notification state while leaving the call log tab. */