mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix null pointer issue
This commit is contained in:
parent
7160756af2
commit
bb583ac927
1 changed files with 3 additions and 1 deletions
|
|
@ -258,7 +258,9 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
|
||||
@Override
|
||||
public void onSaveInstanceState(Bundle outState) {
|
||||
outState.putString("messageDraft", message.getText().toString());
|
||||
if (message != null) {
|
||||
outState.putString("messageDraft", message.getText().toString());
|
||||
}
|
||||
super.onSaveInstanceState(outState);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue