diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-07-12 21:24:48 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-07-12 21:24:48 +0200 |
commit | 871b3882633ac248ae4b1f884f63f815c384ee47 (patch) | |
tree | e1b7cc6dbf4df2f3f152768048dd6034a50a299d /src/main/java | |
parent | 8768ec55bd24753f19f242139a99e6b29482e241 (diff) |
fixed storage location for recorded voice
fixes #92
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/RecordingActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java b/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java index ac012cc03..daa715397 100644 --- a/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java @@ -114,8 +114,7 @@ public class RecordingActivity extends Activity implements View.OnClickListener private File getOutputFile() { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmssSSS", Locale.US); - return new File(Environment.getExternalStorageDirectory().getAbsolutePath().toString() - + FileBackend.getConversationsAudioDirectory() + "/" + return new File(FileBackend.getConversationsAudioDirectory() + "/" + dateFormat.format(new Date()) + ".m4a"); } |