diff options
| author | 2020-03-11 22:58:22 +0000 | |
|---|---|---|
| committer | 2020-03-11 22:58:22 +0000 | |
| commit | b687bc21e10dec09e13756e5fa234bf53315dd2b (patch) | |
| tree | 27e70980c35f59c5c7da44e314634b1f09963844 | |
| parent | 1c31514ade1d1d2f063509cf746acee11071725e (diff) | |
| parent | b17ee6c17c0bac69797587041f8ecdcf9b73d5e9 (diff) | |
Merge "Null-check notif chan when ident people notifs" into rvc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleNotificationIdentifier.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleNotificationIdentifier.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleNotificationIdentifier.kt index 597bdb9f2e74..be3873a5fd77 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleNotificationIdentifier.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleNotificationIdentifier.kt @@ -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 } |