summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/calllog
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-12-05 11:26:34 -0800
committerYorke Lee <yorkelee@google.com>2013-12-05 11:26:34 -0800
commit1d66af17ae04e2c17746d7c402888ce98cda4b12 (patch)
tree73d24d6302e85ec6c4d72f6526167f13a23bc7b9 /src/com/android/dialer/calllog
parent02e388e56434e842637f6d3cad3c94a6c50ce259 (diff)
Add null check in CallLogNotificationsService
Bug: 12015853 Change-Id: Ia2394f1ee0f102de4eab3f5468fd6204727b607d
Diffstat (limited to 'src/com/android/dialer/calllog')
-rw-r--r--src/com/android/dialer/calllog/CallLogNotificationsService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/CallLogNotificationsService.java b/src/com/android/dialer/calllog/CallLogNotificationsService.java
index 3270963cc..ccd933542 100644
--- a/src/com/android/dialer/calllog/CallLogNotificationsService.java
+++ b/src/com/android/dialer/calllog/CallLogNotificationsService.java
@@ -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())) {