mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 04:55:09 +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) {
|
||||
AppDialog.newInstance(appItem).show(supportFragmentManager, "game")
|
||||
} 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