Merge pull request #12746 from TeamNewPipe/kspMigration
Migrate from KAPT to KSP
This commit is contained in:
commit
0909f8c029
72 changed files with 1834 additions and 2120 deletions
|
|
@ -315,7 +315,7 @@ class MediaBrowserImpl(
|
|||
}
|
||||
|
||||
private fun populateHistory(): Single<List<MediaBrowserCompat.MediaItem>> {
|
||||
val history = database.streamHistoryDAO().getHistory().firstOrError()
|
||||
val history = database.streamHistoryDAO().history.firstOrError()
|
||||
return history.map { items ->
|
||||
items.map { this.createHistoryMediaItem(it) }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ class MediaBrowserPlaybackPreparer(
|
|||
}
|
||||
|
||||
val streamId = path[0].toLong()
|
||||
return database.streamHistoryDAO().getHistory()
|
||||
return database.streamHistoryDAO().history
|
||||
.firstOrError()
|
||||
.map { items ->
|
||||
val infoItems = items
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue