diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-05-19 21:43:46 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-05-19 21:43:46 +0200 |
commit | 6e040b7ac2a1fb5152df40e0a7ca961e827a32e6 (patch) | |
tree | 32f3e7c017a2cc94cc6f3f1f4f7067863ded2381 /src/main/java/de/pixart/messenger/ui | |
parent | dfe1a58e0adbf1241650178198b6d263a71e76c0 (diff) |
separate received and sent files
fixes #140
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/RecordingActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java index 31dc1681a..c37b27863 100644 --- a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java +++ b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java @@ -127,7 +127,7 @@ public class RecordingActivity extends Activity implements View.OnClickListener private static File generateOutputFilename(Context context) { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmssSSS", Locale.US); - return new File(FileBackend.getConversationsDirectory("Audios") + return new File(FileBackend.getConversationsDirectory("Audios/Sent") + dateFormat.format(new Date()) + ".m4a"); } |