musikr: fix broken cache pruning
This commit is contained in:
parent
8b3d7cae9c
commit
ebcedb49eb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue