fix displaying some special cases of third party images, like Bluemail attachment
This commit is contained in:
parent
647d6de1d3
commit
fa7b95e0af
1 changed files with 7 additions and 5 deletions
|
@ -63,6 +63,7 @@ open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentList
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
val path = applicationContext.getRealPathFromURI(mUri) ?: ""
|
val path = applicationContext.getRealPathFromURI(mUri) ?: ""
|
||||||
|
if (path != mUri.toString()) {
|
||||||
scanPath(mUri.path) {}
|
scanPath(mUri.path) {}
|
||||||
if (path.isNotEmpty()) {
|
if (path.isNotEmpty()) {
|
||||||
sendViewPagerIntent(path)
|
sendViewPagerIntent(path)
|
||||||
|
@ -70,6 +71,7 @@ open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentList
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
showSystemUI()
|
showSystemUI()
|
||||||
val bundle = Bundle()
|
val bundle = Bundle()
|
||||||
|
|
Loading…
Reference in a new issue