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

Commit aac2af44 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 b335ea4d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -519,9 +519,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();
    }

    /** Removes the missed call notifications. */