mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
recheck if the opened photo still exists
This commit is contained in:
@ -57,6 +57,7 @@ public class ViewPagerActivity extends AppCompatActivity
|
||||
hideSystemUI();
|
||||
|
||||
path = getIntent().getStringExtra(Constants.PHOTO);
|
||||
MediaScannerConnection.scanFile(this, new String[]{path}, null, this);
|
||||
directory = new File(path).getParent();
|
||||
pager = (MyViewPager) findViewById(R.id.view_pager);
|
||||
photos = getPhotos();
|
||||
|
Reference in New Issue
Block a user