mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
cleanup
This commit is contained in:
parent
c7f05eee30
commit
c61df6b6ba
@ -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? {
|
||||||
|
Loading…
Reference in New Issue
Block a user