Simplify cleanup

This commit is contained in:
M66B
2020-01-08 09:38:59 +01:00
parent 285f60f3d5
commit 966188bbb6
2 changed files with 4 additions and 10 deletions

View File

@@ -1200,7 +1200,7 @@ public class FragmentCompose extends FragmentBase {
File dir = new File(getContext().getCacheDir(), "photo");
if (!dir.exists())
dir.mkdir();
File file = new File(dir, new Date().getTime() + ".jpg");
File file = new File(dir, working + ".jpg");
// https://developer.android.com/training/camera/photobasics
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);