forked from geode-sdk/android-launcher
clear up some deprecations
This commit is contained in:
4 files changed
+22
-17
No files matched your search
@@ -92,7 +92,7 @@ fun installLauncherUpdate(context: Context) {
|
||||
try {
|
||||
val intent = generateInstallIntent(uri)
|
||||
context.startActivity(intent)
|
||||
} catch (e: ActivityNotFoundException) {
|
||||
} catch (_: ActivityNotFoundException) {
|
||||
Toast.makeText(context, context.getString(R.string.no_activity_found), Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user