forked from mirror/monocles_chat_clean
Fix possible NPE
This commit is contained in:
parent
1f864752fd
commit
06f2a21462
1 changed files with 1 additions and 1 deletions
|
@ -1168,7 +1168,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
savedInstanceState.putParcelable("intent", pendingIntent != null ? pendingIntent : getIntent());
|
||||
savedInstanceState.putLong("mainFilter", mainFilter);
|
||||
savedInstanceState.putSerializable("selectedTag", selectedTag);
|
||||
savedInstanceState = binding.drawer.saveInstanceState(savedInstanceState);
|
||||
if (binding.drawer != null) savedInstanceState = binding.drawer.saveInstanceState(savedInstanceState);
|
||||
if (accountHeader != null) savedInstanceState = accountHeader.saveInstanceState(savedInstanceState);
|
||||
super.onSaveInstanceState(savedInstanceState);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue