Address some deprecations

This commit is contained in:
AntsyLich
2025-01-21 08:55:34 +06:00
parent c283abefb0
commit d53a3828b1
5 changed files with 12 additions and 7 deletions
@@ -25,6 +25,7 @@ class ExtensionInstallActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
@Suppress("DEPRECATION")
val installIntent = Intent(Intent.ACTION_INSTALL_PACKAGE)
.setDataAndType(intent.data, intent.type)
.putExtra(Intent.EXTRA_RETURN_RESULT, true)