commit | 0f0495d5d73389851e147ac3f617706e307020c8 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Thu Dec 05 11:26:34 2013 -0800 |
committer | Jay Shrauner <shrauner@google.com> | Sat Mar 01 18:21:05 2014 +0000 |
tree | 54891e8efb7579909ffb1c8db76c65e71a2a1749 | |
parent | b0b153f5fe5833d1a3b102e93e6e27481a90e4f7 [diff] |
Add null check in CallLogNotificationsService Bug: 12015853 Change-Id: Ia2394f1ee0f102de4eab3f5468fd6204727b607d (cherry picked from commit 1d66af17ae04e2c17746d7c402888ce98cda4b12)
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())) {