summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/calllog/CallLogFragment.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/com/android/dialer/calllog/CallLogFragment.java b/src/com/android/dialer/calllog/CallLogFragment.java
index c63b212d1..13b6ca587 100644
--- a/src/com/android/dialer/calllog/CallLogFragment.java
+++ b/src/com/android/dialer/calllog/CallLogFragment.java
@@ -482,8 +482,11 @@ public class CallLogFragment extends Fragment implements CallLogQueryHandler.Lis
if (!onEntry) {
mCallLogQueryHandler.markMissedCallsAsRead();
}
- CallLogNotificationsHelper.removeMissedCallNotifications(getActivity());
- CallLogNotificationsHelper.updateVoicemailNotifications(getActivity());
+ if (mCallTypeFilter == Calls.VOICEMAIL_TYPE) {
+ CallLogNotificationsHelper.updateVoicemailNotifications(getActivity());
+ } else {
+ CallLogNotificationsHelper.removeMissedCallNotifications(getActivity());
+ }
}
}