Null-check notif chan when ident people notifs
Bug: 151050221 Test: manual Change-Id: I0cbf29a33c228ac9f3566639a592733716eee891
This commit is contained in:
@@ -83,7 +83,7 @@ class PeopleNotificationIdentifierImpl @Inject constructor(
|
||||
|
||||
private val Ranking.personTypeInfo
|
||||
get() = when {
|
||||
channel.isImportantConversation -> TYPE_IMPORTANT_PERSON
|
||||
channel?.isImportantConversation == true -> TYPE_IMPORTANT_PERSON
|
||||
isConversation -> TYPE_PERSON
|
||||
else -> TYPE_NON_PERSON
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user