Remove JPEG_ prefix from file name.

This commit is contained in:
onurays 2020-03-24 12:37:37 +03:00
parent e583c03751
commit 6bf89aeac9

View File

@ -122,7 +122,7 @@ class CameraPicker(val requestCode: Int) {
val timeStamp: String = SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(Date())
val storageDir: File = context.filesDir
return File.createTempFile(
"JPEG_${timeStamp}_", /* prefix */
"${timeStamp}_", /* prefix */
".jpg", /* suffix */
storageDir /* directory */
)