mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
scan invalid path at viewpager activity instead of deleting
This commit is contained in:
parent
c271822844
commit
6d806035ee
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
|
|
||||||
if (!getDoesFilePathExist(mPath)) {
|
if (!getDoesFilePathExist(mPath)) {
|
||||||
Thread {
|
Thread {
|
||||||
deleteFromMediaStore(mPath)
|
scanPath(mPath)
|
||||||
}.start()
|
}.start()
|
||||||
finish()
|
finish()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue