summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b4497e4b0..f2be6ab55 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -347,7 +347,7 @@ public class ListsFragment extends Fragment implements CallLogQueryHandler.Liste
// TODO: Try to show the action bar regardless of whether the panel is open, and then update
// the offset to show/hide the action bar, instead of updating the whether the action bar is
// shown in onPanelSlide.
- if (mIsPanelOpen) {
+ if (mIsPanelOpen && mActionBar != null) {
mActionBar.show();
}
}