From ec4ae9c7ecaa477d81f3097c8e0ae212155a61f7 Mon Sep 17 00:00:00 2001 From: Sarmad Hashmi Date: Wed, 30 Mar 2016 18:10:41 -0700 Subject: Fix merge. +Remove line that was removed by ag/874074 and added back in by ag/886674. Change-Id: I8f501655356ccf5ff605a0eb705ec38e1ded9025 --- src/com/android/dialer/calllog/CallLogFragment.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/com/android/dialer') diff --git a/src/com/android/dialer/calllog/CallLogFragment.java b/src/com/android/dialer/calllog/CallLogFragment.java index d01537dea..67b72a5a3 100644 --- a/src/com/android/dialer/calllog/CallLogFragment.java +++ b/src/com/android/dialer/calllog/CallLogFragment.java @@ -474,13 +474,9 @@ public class CallLogFragment extends Fragment implements CallLogQueryHandler.Lis // We don't want to update any call data when keyguard is on because the user has likely not // seen the new calls yet. // This might be called before onCreate() and thus we need to check null explicitly. - if (mKeyguardManager != null && !mKeyguardManager.inKeyguardRestrictedInputMode()) { - // On either of the transitions we update the missed call and voicemail notifications. - // While exiting we additionally consume all missed calls (by marking them as read). - mCallLogQueryHandler.markNewCallsAsOld(); - if (mCallTypeFilter == Calls.VOICEMAIL_TYPE) { - CallLogNotificationsHelper.updateVoicemailNotifications(getActivity()); - } + if (mKeyguardManager != null && !mKeyguardManager.inKeyguardRestrictedInputMode() + && mCallTypeFilter == Calls.VOICEMAIL_TYPE) { + CallLogNotificationsHelper.updateVoicemailNotifications(getActivity()); } } -- cgit v1.2.3