Merge "Add magnifying glass to search box."
diff --git a/src/com/android/dialer/list/ListsFragment.java b/src/com/android/dialer/list/ListsFragment.java
index b4497e4..f2be6ab 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -347,7 +347,7 @@
// 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();
}
}