This commit is contained in:
Bnyro 2022-08-04 10:17:24 +02:00
parent c7f05eee30
commit c61df6b6ba

View File

@ -292,7 +292,7 @@ class BackgroundMode : Service() {
// kill old notification // kill old notification
val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE)
as NotificationManager as NotificationManager
notificationManager.cancel(1) notificationManager.cancel(PLAYER_NOTIFICATION_ID)
} }
override fun onBind(p0: Intent?): IBinder? { override fun onBind(p0: Intent?): IBinder? {