diff options
author | Andrew Lee <anwlee@google.com> | 2014-05-16 16:04:53 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-05-16 16:04:53 -0700 |
commit | 6020ea4ec166f2a168c8ecf73a9a605169838da1 (patch) | |
tree | 497239971783bf35734d43678be945115e044934 /src | |
parent | 0d68dad4e0fde69e1a1e85efc19840363f4f9539 (diff) |
Fix action bar NPE.
Change-Id: Ie2f7024c7f5a28a635808ab7b6c5e437e14a98ea
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/ListsFragment.java | 2 |
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(); } } |