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

Commit 3b9d09c5 authored by Yorke Lee's avatar Yorke Lee
Browse files

Refresh call shortcut when returning to the dialer

Bug: 10951409
Change-Id: Ieb39e5f939736be8bc10690f322ef5e43ce81027
parent 36df59e0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -435,6 +435,9 @@ public class PhoneFavoriteFragment extends Fragment implements OnItemClickListen
    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();
    }