We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd33ada commit 64eb735Copy full SHA for 64eb735
app/src/main/java/cc/chenhe/qqnotifyevo/core/NotificationProcessor.kt
@@ -678,7 +678,10 @@ abstract class NotificationProcessor(context: Context) {
678
.setPersons(conversation.messages.map { it.person }.toSet().toTypedArray())
679
.setShortLabel(conversation.name)
680
.setLongLabel(conversation.name)
681
- .setIcon(IconCompat.createWithBitmap(avatarManager.getAvatar(conversation.name.hashCode())))
+ .setIcon(
682
+ avatarManager.getAvatar(conversation.name.hashCode())
683
+ ?.let { IconCompat.createWithBitmap(it) }
684
+ )
685
.setIntent(
686
context.packageManager.getLaunchIntentForPackage(tag.pkg)
687
?: Intent(context, PreferenceAty::class.java).apply {
0 commit comments