mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
a87678a79e
commit
5c673e1636
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue