diff --git a/android/app/src/main/kotlin/io/rebble/cobble/notifications/NotificationListener.kt b/android/app/src/main/kotlin/io/rebble/cobble/notifications/NotificationListener.kt index d7fa12ad..31b6d73e 100644 --- a/android/app/src/main/kotlin/io/rebble/cobble/notifications/NotificationListener.kt +++ b/android/app/src/main/kotlin/io/rebble/cobble/notifications/NotificationListener.kt @@ -1,6 +1,5 @@ package io.rebble.cobble.notifications -import android.annotation.TargetApi import android.app.Notification import android.app.NotificationChannel import android.content.ComponentName @@ -21,7 +20,10 @@ import io.rebble.libpebblecommon.packets.blobdb.BlobResponse import io.rebble.libpebblecommon.packets.blobdb.TimelineItem import io.rebble.libpebblecommon.services.notification.NotificationService import kotlinx.coroutines.* -import kotlinx.coroutines.flow.* +import kotlinx.coroutines.flow.MutableStateFlow +import kotlinx.coroutines.flow.StateFlow +import kotlinx.coroutines.flow.collect +import kotlinx.coroutines.flow.combine import timber.log.Timber class NotificationListener : NotificationListenerService() {