From 0dbe812c6e307dc72ac1e3877cf1b874810b7ed5 Mon Sep 17 00:00:00 2001 From: crc-32 Date: Fri, 21 Jun 2024 16:32:20 +0100 Subject: [PATCH] cleanup --- .../io/rebble/cobble/notifications/NotificationListener.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() {