commit | 0e49afe2a176763d0998342c909b70c2a586e8e2 | [log] [tgz] |
---|---|---|
author | Robert Snoeberger <snoeberger@google.com> | Wed Oct 23 11:37:54 2019 -0400 |
committer | Robert Snoeberger <snoeberger@google.com> | Wed Oct 23 17:27:36 2019 +0000 |
tree | c6e56326e31b4bc4b606d4e99ec9184a91ea576d | |
parent | b77d972ac250f898baf40edeae767bb4e28cd4c2 [diff] |
Notification might not have a contentIntent Fixes: 143077322 Test: I'm able to run my memory microbenchmark in ag/9592498 without crashing. Change-Id: I2f66a0938458a4119476f7e381d3a7a4064f8ce1
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleHubNotificationListener.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleHubNotificationListener.kt index 90a860a..c9ea559 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleHubNotificationListener.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/PeopleHubNotificationListener.kt
@@ -126,6 +126,7 @@ } val clickIntent = sbn.notification.contentIntent + ?: return null val extras = sbn.notification.extras val name = extras.getString(Notification.EXTRA_CONVERSATION_TITLE) ?: extras.getString(Notification.EXTRA_TITLE)