mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 08:19:33 +00:00
resolve two warnings
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -99,7 +99,7 @@ object DownloadUtils {
|
|||||||
while (entry != null) {
|
while (entry != null) {
|
||||||
if (entry.name == zipPath) {
|
if (entry.name == zipPath) {
|
||||||
it.copyTo(outputStream)
|
it.copyTo(outputStream)
|
||||||
return@use
|
return@runInterruptible
|
||||||
}
|
}
|
||||||
|
|
||||||
entry = it.nextEntry
|
entry = it.nextEntry
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ object LaunchUtils {
|
|||||||
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||||
game.longVersionCode
|
game.longVersionCode
|
||||||
} else {
|
} else {
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
game.versionCode.toLong()
|
game.versionCode.toLong()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user