summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-11-14 00:57:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-14 00:57:11 +0000
commite75f0ad1c4659ae0f059ec7711ab5a8c2957561a (patch)
treeccaebb2fe109433fc8b3bcba0a722bf3399e9cc5
parent415926e185b57abeb3a58359a7c03d9e9d112bf9 (diff)
parentd87d1c2439ec8340c5c31828a39f7b17891ddf7f (diff)
Merge "Fix NPE in ListsFragment." into ub-contactsdialer-a-dev am: a2884c6dbf
am: d87d1c2439 * commit 'd87d1c2439ec8340c5c31828a39f7b17891ddf7f': Fix NPE in ListsFragment.
-rw-r--r--src/com/android/dialer/list/ListsFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/ListsFragment.java b/src/com/android/dialer/list/ListsFragment.java
index cf999e70c..529449830 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -360,7 +360,7 @@ public class ListsFragment extends Fragment
* expands a voicemail in the call log.
*/
public void updateTabUnreadCounts() {
- if (mHasActiveVoicemailProvider) {
+ if (mHasActiveVoicemailProvider && mCallLogQueryHandler != null) {
mCallLogQueryHandler.fetchVoicemailUnreadCount();
}
}