commit | 3277d2586771adb8205b3fedd92211c99b60d67e | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <seba@sebaubuntu.dev> | Wed Oct 09 11:14:45 2024 +0200 |
committer | Sebastiano Barezzi <seba@sebaubuntu.dev> | Thu Oct 10 00:09:42 2024 +0200 |
tree | c4013f5ed11b5f642afeb68dd4ccf600e880d3b6 | |
parent | b34694215eae64ed300459b1695c51b2c0540d3c [diff] |
Twelve: Opt-in application class to Media3 UnstableApi Change-Id: Idc7dcf785479502d83b27641b350a0797a29b7a4
diff --git a/app/src/main/java/org/lineageos/twelve/TwelveApplication.kt b/app/src/main/java/org/lineageos/twelve/TwelveApplication.kt index 45fbeb2..afb705a 100644 --- a/app/src/main/java/org/lineageos/twelve/TwelveApplication.kt +++ b/app/src/main/java/org/lineageos/twelve/TwelveApplication.kt
@@ -12,7 +12,7 @@ import org.lineageos.twelve.database.TwelveDatabase import org.lineageos.twelve.repositories.MediaRepository -@UnstableApi +@androidx.annotation.OptIn(UnstableApi::class) class TwelveApplication : Application() { private val database by lazy { TwelveDatabase.getInstance(applicationContext) } val mediaRepository by lazy { MediaRepository(applicationContext, database) }