mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-27 04:44:15 +01:00
Prevent a false positive SecurityException
for DocumentsProvider
This commit is contained in:
parent
1ae36cea24
commit
267d25b5a5
@ -245,7 +245,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
if (preferenceSettings.selectAction) {
|
if (preferenceSettings.selectAction) {
|
||||||
AppDialog.newInstance(appItem).show(supportFragmentManager, "game")
|
AppDialog.newInstance(appItem).show(supportFragmentManager, "game")
|
||||||
} else if (appItem.loaderResult == LoaderResult.Success) {
|
} else if (appItem.loaderResult == LoaderResult.Success) {
|
||||||
startActivity(Intent(this, EmulationActivity::class.java).apply { data = appItem.uri; putExtra(EmulationActivity.ReturnToMainTag, true) })
|
startActivity(Intent(this, EmulationActivity::class.java).apply { data = appItem.uri; putExtra(EmulationActivity.ReturnToMainTag, true); addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user