mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Lazily initialize NotificationChannels.
This commit is contained in:
committed by
Cody Henthorne
parent
3e8b5ca91d
commit
81c10a1eae
@@ -106,7 +106,7 @@ public class UserNotificationMigrationJob extends MigrationJob {
|
||||
.addNextIntent(newConversationIntent)
|
||||
.getPendingIntent(0, 0);
|
||||
|
||||
Notification notification = new NotificationCompat.Builder(context, NotificationChannels.getMessagesChannel(context))
|
||||
Notification notification = new NotificationCompat.Builder(context, NotificationChannels.getInstance().getMessagesChannel())
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setContentText(message)
|
||||
.setContentIntent(pendingIntent)
|
||||
|
||||
Reference in New Issue
Block a user