mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix instrumentation tests by forcing channel id usage to init channels.
This commit is contained in:
@@ -38,7 +38,7 @@ class FcmFetchForegroundService : Service() {
|
||||
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
|
||||
startForeground(
|
||||
NotificationIds.FCM_FETCH,
|
||||
NotificationCompat.Builder(this, NotificationChannels.OTHER)
|
||||
NotificationCompat.Builder(this, NotificationChannels.getInstance().OTHER)
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setContentTitle(getString(R.string.BackgroundMessageRetriever_checking_for_messages))
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
|
||||
Reference in New Issue
Block a user