Upgrade to Kotlin 1.7.20

Also run formatter and address some deprecation warnings.

(cherry picked from commit 26a42ba9c0)

# Conflicts:
#	core/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
This commit is contained in:
arkon
2022-10-11 22:40:02 -04:00
committed by Jobobby04
parent 1b6c970cc2
commit 78d87b866a
21 changed files with 42 additions and 43 deletions
@@ -19,6 +19,6 @@ class BaselineProfileGenerator {
// TODO: Navigate to browse-extensions screen when storage permission
// in sources screen moved. Possibly open manga details screen too?
}
},
)
}
@@ -60,7 +60,7 @@ abstract class AbstractStartupBenchmark(private val startupMode: StartupMode) {
@Test
fun startupBaselineProfileDisabled() = startup(
CompilationMode.Partial(baselineProfileMode = BaselineProfileMode.Disable, warmupIterations = 1)
CompilationMode.Partial(baselineProfileMode = BaselineProfileMode.Disable, warmupIterations = 1),
)
@Test
@@ -77,7 +77,7 @@ abstract class AbstractStartupBenchmark(private val startupMode: StartupMode) {
startupMode = startupMode,
setupBlock = {
pressHome()
}
},
) {
startActivityAndWait()
}