Fix potential crash with a bad group update body.

fork-5.53.8
Greyson Parrelli 2021-09-14 09:08:04 -04:00
rodzic 573c0fad7f
commit 8df86962e9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -258,7 +258,7 @@ public abstract class MessageRecord extends DisplayRecord {
}
return UpdateDescription.concatWithNewLines(newGroupDescriptions);
}
} catch (IOException e) {
} catch (IOException | IllegalArgumentException e) {
Log.w(TAG, "GV2 Message update detail could not be read", e);
return staticUpdateDescription(context.getString(R.string.MessageRecord_group_updated), R.drawable.ic_update_group_16);
}