mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-18 12:31:34 +01:00
Remove JPEG_ prefix from file name.
This commit is contained in:
parent
e583c03751
commit
6bf89aeac9
@ -122,7 +122,7 @@ class CameraPicker(val requestCode: Int) {
|
|||||||
val timeStamp: String = SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(Date())
|
val timeStamp: String = SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(Date())
|
||||||
val storageDir: File = context.filesDir
|
val storageDir: File = context.filesDir
|
||||||
return File.createTempFile(
|
return File.createTempFile(
|
||||||
"JPEG_${timeStamp}_", /* prefix */
|
"${timeStamp}_", /* prefix */
|
||||||
".jpg", /* suffix */
|
".jpg", /* suffix */
|
||||||
storageDir /* directory */
|
storageDir /* directory */
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user