Skip to content

Commit

Permalink
calm the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Hoch committed Nov 19, 2024
1 parent 40c0efd commit ea92dff
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class RemotePlayerService : Service(), CoroutineScope {
} else {
setPriority(Notification.PRIORITY_LOW)
}
onStopped(false);
onStopped(false)
setContentText("")
setContentTitle("")
setSmallIcon(R.drawable.ic_notification)
Expand All @@ -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)
Expand All @@ -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,
)
}
}
Expand All @@ -216,7 +216,6 @@ class RemotePlayerService : Service(), CoroutineScope {
return super.onStartCommand(intent, flags, startId)
}


private fun startWakelock() {
startWakelock(extraWakeLockTime)
}
Expand Down

0 comments on commit ea92dff

Please sign in to comment.