adding missing parameter from rebase and removing no longer needed singleton annotation

This commit is contained in:
Adam Brown 2021-10-14 16:56:15 +01:00
parent 4748a385ea
commit c16e3e09e6

View file

@ -15,6 +15,7 @@
*/ */
package im.vector.app.features.notifications package im.vector.app.features.notifications
import android.content.Context
import androidx.annotation.WorkerThread import androidx.annotation.WorkerThread
import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_EVENT_NOTIFICATION_ID import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_EVENT_NOTIFICATION_ID
import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_INVITATION_NOTIFICATION_ID import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_INVITATION_NOTIFICATION_ID
@ -23,11 +24,10 @@ import im.vector.app.features.notifications.NotificationDrawerManager.Companion.
import androidx.core.content.pm.ShortcutManagerCompat import androidx.core.content.pm.ShortcutManagerCompat
import timber.log.Timber import timber.log.Timber
import javax.inject.Inject import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class NotificationRenderer @Inject constructor(private val notificationDisplayer: NotificationDisplayer, class NotificationRenderer @Inject constructor(private val notificationDisplayer: NotificationDisplayer,
private val notificationFactory: NotificationFactory) { private val notificationFactory: NotificationFactory,
private val appContext: Context) {
@WorkerThread @WorkerThread
fun render(myUserId: String, fun render(myUserId: String,