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

Commit ec4ae9c7 authored by Sarmad Hashmi's avatar Sarmad Hashmi
Browse files

Fix merge.

+Remove line that was removed by ag/874074 and added back in by
ag/886674.

Change-Id: I8f501655356ccf5ff605a0eb705ec38e1ded9025
parent b804a67a
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -474,15 +474,11 @@ 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) {
        if (mKeyguardManager != null && !mKeyguardManager.inKeyguardRestrictedInputMode()
                && mCallTypeFilter == Calls.VOICEMAIL_TYPE) {
            CallLogNotificationsHelper.updateVoicemailNotifications(getActivity());
        }
    }
    }

    @Override
    public void onEmptyViewActionButtonClicked() {