Prevent crash if conference subject is null or empty, a Person must have a name
This commit is contained in:
parent
cb7732b704
commit
2838d207ca
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Api31Compatibility {
|
||||||
.build()
|
.build()
|
||||||
} else {
|
} else {
|
||||||
Person.Builder()
|
Person.Builder()
|
||||||
.setName(conferenceInfo.subject)
|
.setName(if (conferenceInfo.subject.isNullOrEmpty()) context.getString(R.string.conference_incoming_title) else conferenceInfo.subject)
|
||||||
.setIcon(coreContext.contactsManager.groupAvatar.toIcon(context))
|
.setIcon(coreContext.contactsManager.groupAvatar.toIcon(context))
|
||||||
.setImportant(false)
|
.setImportant(false)
|
||||||
.build()
|
.build()
|
||||||
|
|
Loading…
Reference in a new issue