Optimize imports

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2023-11-21 11:45:43 +01:00 committed by Andy Scherzinger
parent a87678a79e
commit 5c673e1636
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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())
}