Skip to content

Commit

Permalink
Rename output filename
Browse files Browse the repository at this point in the history
  • Loading branch information
dragermrb committed Feb 25, 2022
1 parent ff7b890 commit ab5fd1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void cameraPermissionsCallback(PluginCall call) {
@NonNull
private File createTempFile(String extension) throws IOException {
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.ENGLISH).format(new Date());
String fileName = extension + "_" + timeStamp + "_";
String fileName = "VID_" + timeStamp + "_";
File storageDir = getContext().getCacheDir();

return File.createTempFile(fileName, "." + extension, storageDir);
Expand Down

0 comments on commit ab5fd1a

Please sign in to comment.