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

Commit 0f0495d5 authored by Yorke Lee's avatar Yorke Lee Committed by Jay Shrauner
Browse files

Add null check in CallLogNotificationsService

Bug: 12015853
Change-Id: Ia2394f1ee0f102de4eab3f5468fd6204727b607d
(cherry picked from commit 1d66af17)
parent b0b153f5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -70,6 +70,10 @@ public class CallLogNotificationsService extends IntentService {

    @Override
    protected void onHandleIntent(Intent intent) {
        if (intent == null) {
            Log.d(TAG, "onHandleIntent: could not handle null intent");
            return;
        }
        if (ACTION_MARK_NEW_VOICEMAILS_AS_OLD.equals(intent.getAction())) {
            mCallLogQueryHandler.markNewVoicemailsAsOld();
        } else if (ACTION_UPDATE_NOTIFICATIONS.equals(intent.getAction())) {