Skip to content

Commit

Permalink
NavigationDrawerFragment Nullpointer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Sep 22, 2016
1 parent 4a0b966 commit 5d2205a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public void onSaveInstanceState(Bundle outState) {
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
mDrawerToggle.onConfigurationChanged(newConfig);
if (mDrawerToggle != null) mDrawerToggle.onConfigurationChanged(newConfig);
}

@Override
Expand Down

0 comments on commit 5d2205a

Please sign in to comment.