diff --git a/app/src/main/java/com/nextcloud/client/files/downloader/FileTransferService.kt b/app/src/main/java/com/nextcloud/client/files/downloader/FileTransferService.kt index 3d76a14b8f..87ff143f05 100644 --- a/app/src/main/java/com/nextcloud/client/files/downloader/FileTransferService.kt +++ b/app/src/main/java/com/nextcloud/client/files/downloader/FileTransferService.kt @@ -35,7 +35,6 @@ import com.nextcloud.client.network.ConnectivityService import com.nextcloud.client.notifications.AppNotificationManager import com.owncloud.android.datamodel.FileDataStorageManager import com.owncloud.android.datamodel.UploadsStorageManager -import com.owncloud.android.files.services.FileDownloader import dagger.android.AndroidInjection import javax.inject.Inject import javax.inject.Named diff --git a/app/src/main/java/com/nextcloud/client/media/PlayerService.kt b/app/src/main/java/com/nextcloud/client/media/PlayerService.kt index 96ac329105..3cfd22c9c6 100644 --- a/app/src/main/java/com/nextcloud/client/media/PlayerService.kt +++ b/app/src/main/java/com/nextcloud/client/media/PlayerService.kt @@ -174,7 +174,11 @@ class PlayerService : Service() { } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { - startForeground(R.string.media_notif_ticker, notificationBuilder.build(), ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK) + startForeground( + R.string.media_notif_ticker, + notificationBuilder.build(), + ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK + ) } else { startForeground(R.string.media_notif_ticker, notificationBuilder.build()) }