mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
ktlint
This commit is contained in:
parent
c0b204d0b8
commit
b6747e479d
@ -319,7 +319,10 @@ class PlayerFragment : Fragment() {
|
|||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
try {
|
try {
|
||||||
exoPlayer.release()
|
exoPlayer.release()
|
||||||
val nManager = context?.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
// kill notification
|
||||||
|
val nManager = context?.getSystemService(
|
||||||
|
Context.NOTIFICATION_SERVICE
|
||||||
|
) as NotificationManager
|
||||||
nManager.cancel(notificationId)
|
nManager.cancel(notificationId)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user