fix third party intent opening
This commit is contained in:
parent
fe57a74579
commit
41820dda15
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ class MainActivity : SimpleActivity(), SongListListener {
|
|||
}
|
||||
|
||||
private fun initThirdPartyIntent() {
|
||||
val realPath = intent.getStringExtra(REAL_FILE_PATH)
|
||||
val realPath = intent.getStringExtra(REAL_FILE_PATH) ?: ""
|
||||
var fileUri = intent.data
|
||||
if (realPath.isNotEmpty()) {
|
||||
fileUri = Uri.fromFile(File(realPath))
|
||||
|
|
Loading…
Reference in a new issue