forked from geode-sdk/android-launcher
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) {
|
||||
if (entry.name == zipPath) {
|
||||
it.copyTo(outputStream)
|
||||
return@use
|
||||
return@runInterruptible
|
||||
}
|
||||
|
||||
entry = it.nextEntry
|
||||
|
||||
@@ -24,6 +24,7 @@ object LaunchUtils {
|
||||
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
game.longVersionCode
|
||||
} else {
|
||||
@Suppress("DEPRECATION")
|
||||
game.versionCode.toLong()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user