mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-19 12:38:07 +00:00
Fixed potential crash
This commit is contained in:
parent
d1522c1244
commit
87c1a7d3f8
1 changed files with 1 additions and 1 deletions
|
|
@ -974,7 +974,7 @@ public class ChatMessagesFragment extends Fragment
|
|||
|
||||
private void onRestoreInstanceState(Bundle savedInstanceState) {
|
||||
String files[] = savedInstanceState.getStringArray("Files");
|
||||
if (files.length > 0) {
|
||||
if (files != null && files.length > 0) {
|
||||
for (String file : files) {
|
||||
if (FileUtils.isExtensionImage(file)) {
|
||||
addImageToPendingList(file);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue