From ea92dff813bfb8026f3a3b3c23b1130afbb47812 Mon Sep 17 00:00:00 2001 From: Christopher Hoch Date: Tue, 19 Nov 2024 10:01:19 +0100 Subject: [PATCH] calm the lint --- .../org/jellyfin/mobile/webapp/RemotePlayerService.kt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/org/jellyfin/mobile/webapp/RemotePlayerService.kt b/app/src/main/java/org/jellyfin/mobile/webapp/RemotePlayerService.kt index 8c6fa5c87..51f887c47 100644 --- a/app/src/main/java/org/jellyfin/mobile/webapp/RemotePlayerService.kt +++ b/app/src/main/java/org/jellyfin/mobile/webapp/RemotePlayerService.kt @@ -157,7 +157,7 @@ class RemotePlayerService : Service(), CoroutineScope { } else { setPriority(Notification.PRIORITY_LOW) } - onStopped(false); + onStopped(false) setContentText("") setContentTitle("") setSmallIcon(R.drawable.ic_notification) @@ -167,12 +167,12 @@ class RemotePlayerService : Service(), CoroutineScope { startForeground( MEDIA_PLAYER_NOTIFICATION_ID, tempNotification, - ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK + ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK, ) } else { startForeground( MEDIA_PLAYER_NOTIFICATION_ID, - tempNotification + tempNotification, ) } notificationManager.cancel(MEDIA_PLAYER_NOTIFICATION_ID) @@ -186,12 +186,12 @@ class RemotePlayerService : Service(), CoroutineScope { startForeground( MEDIA_PLAYER_NOTIFICATION_ID, notification!!, - ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK + ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK, ) } else { startForeground( MEDIA_PLAYER_NOTIFICATION_ID, - notification + notification, ) } } @@ -216,7 +216,6 @@ class RemotePlayerService : Service(), CoroutineScope { return super.onStartCommand(intent, flags, startId) } - private fun startWakelock() { startWakelock(extraWakeLockTime) }