diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/RecordingActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java b/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java index f0f146047..ac012cc03 100644 --- a/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java @@ -23,6 +23,7 @@ import java.util.Locale; import eu.siacs.conversations.Config; import eu.siacs.conversations.R; +import eu.siacs.conversations.persistance.FileBackend; public class RecordingActivity extends Activity implements View.OnClickListener { @@ -114,7 +115,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() - + "/Pix-Art Messenger/audios/" + + FileBackend.getConversationsAudioDirectory() + "/" + dateFormat.format(new Date()) + ".m4a"); } |