From cdc14da9275c67d123b55e668f48f73c4b58d948 Mon Sep 17 00:00:00 2001 From: Sarmad Hashmi Date: Mon, 25 Jan 2016 17:35:36 -0800 Subject: [DO NOT MERGE] Display missed call count for call log. The number of unread missed calls are displayed beside the Call Log as a badge. All unread missed calls are bolded under the call log tab. When exiting the call log tab, all unread calls are marked as read. When interacting with an unread missed call card while in the call log tab, it will subtract 1 from the badge. Cherry-picked from d118a8e0d8a68499398504f350f81175118e2ecf BUG=24953555 Change-Id: If91a3bc89197465934cb773955e4bec005d6d14e --- src/com/android/dialer/voicemail/VisualVoicemailEnabledChecker.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/com/android/dialer/voicemail') diff --git a/src/com/android/dialer/voicemail/VisualVoicemailEnabledChecker.java b/src/com/android/dialer/voicemail/VisualVoicemailEnabledChecker.java index 3134b1486..80a0368bd 100644 --- a/src/com/android/dialer/voicemail/VisualVoicemailEnabledChecker.java +++ b/src/com/android/dialer/voicemail/VisualVoicemailEnabledChecker.java @@ -90,6 +90,11 @@ public class VisualVoicemailEnabledChecker implements CallLogQueryHandler.Listen // Do nothing } + @Override + public void onMissedCallsUnreadCountFetched(Cursor cursor) { + // Do nothing + } + @Override public boolean onCallsFetched(Cursor combinedCursor) { // Do nothing -- cgit v1.2.3