forked from firka/firka
firka(android): use app icon for Wear sync foreground service notification
This commit is contained in:
@@ -130,7 +130,7 @@ class WearSyncForegroundService : Service(), MessageClient.OnMessageReceivedList
|
|||||||
return NotificationCompat.Builder(this, channelId)
|
return NotificationCompat.Builder(this, channelId)
|
||||||
.setContentTitle(notificationTitle)
|
.setContentTitle(notificationTitle)
|
||||||
.setContentText(notificationText)
|
.setContentText(notificationText)
|
||||||
.setSmallIcon(android.R.drawable.ic_menu_my_calendar)
|
.setSmallIcon(R.drawable.ic_notification)
|
||||||
.setContentIntent(pendingIntent)
|
.setContentIntent(pendingIntent)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.build()
|
.build()
|
||||||
|
|||||||
Reference in New Issue
Block a user