commit | 1d66af17ae04e2c17746d7c402888ce98cda4b12 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Thu Dec 05 11:26:34 2013 -0800 |
committer | Yorke Lee <yorkelee@google.com> | Thu Dec 05 11:26:34 2013 -0800 |
tree | 73d24d6302e85ec6c4d72f6526167f13a23bc7b9 | |
parent | 02e388e56434e842637f6d3cad3c94a6c50ce259 [diff] |
Add null check in CallLogNotificationsService Bug: 12015853 Change-Id: Ia2394f1ee0f102de4eab3f5468fd6204727b607d
diff --git a/src/com/android/dialer/calllog/CallLogNotificationsService.java b/src/com/android/dialer/calllog/CallLogNotificationsService.java index 3270963..ccd9335 100644 --- a/src/com/android/dialer/calllog/CallLogNotificationsService.java +++ b/src/com/android/dialer/calllog/CallLogNotificationsService.java
@@ -70,6 +70,10 @@ @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())) {