Use readable filename for save image
This commit is contained in:
1 parent
95bdb85609
commit
ad4206fb7e
5 files changed
+29
-1
No files matched your search
@@ -705,7 +705,7 @@ public class GalleryActivity extends TrackedActivity
|
||||
return;
|
||||
}
|
||||
UniFile file;
|
||||
if (null == (file = mGalleryProvider.save(page, UniFile.fromFile(dir), Long.toString(System.currentTimeMillis())))) {
|
||||
if (null == (file = mGalleryProvider.save(page, UniFile.fromFile(dir), mGalleryProvider.getImageFilename(page)))) {
|
||||
Toast.makeText(this, R.string.error_cant_save_image, Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user