musikr: fix broken cache pruning
This commit is contained in:
@@ -68,7 +68,7 @@ internal interface VisibleCacheDao {
|
|||||||
|
|
||||||
@Transaction suspend fun touch(uri: String) = updateTouchedNs(uri, System.nanoTime())
|
@Transaction suspend fun touch(uri: String) = updateTouchedNs(uri, System.nanoTime())
|
||||||
|
|
||||||
@Query("UPDATE cachedsong SET touchedNs = :nowNs WHERE uri = :uri")
|
@Query("UPDATE CachedSong SET touchedNs = :nowNs WHERE uri = :uri")
|
||||||
suspend fun updateTouchedNs(uri: String, nowNs: Long)
|
suspend fun updateTouchedNs(uri: String, nowNs: Long)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user