mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-09-05 07:53:13 +00:00
Merge pull request #29 from MNCHL/MNCHL-patch-30
Update UpdateManager.kt
This commit is contained in:
commit
9f326cbc80
|
@ -7,15 +7,12 @@ import android.content.Intent
|
|||
import android.content.pm.PackageManager
|
||||
import android.net.Uri
|
||||
import android.os.Environment
|
||||
import android.provider.Settings
|
||||
import android.widget.Toast
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
import org.json.JSONException
|
||||
import org.json.JSONObject
|
||||
import java.io.BufferedReader
|
||||
import java.io.IOException
|
||||
import java.io.InputStreamReader
|
||||
import java.net.HttpURLConnection
|
||||
import java.net.URL
|
||||
|
@ -98,7 +95,7 @@ class UpdateManager(private val context: Context) {
|
|||
.setNegativeButton("稍后", null)
|
||||
.show()
|
||||
}
|
||||
|
||||
|
||||
private fun showNoUpdateAvailableMessage() {
|
||||
Toast.makeText(context, "您的应用已经是最新版本。", Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue