Skip to content

Commit

Permalink
Fixed audio recordings attachments URIs
Browse files Browse the repository at this point in the history
Fixed audio recordings attachments URIs
  • Loading branch information
federicoiosue committed Jun 3, 2016
1 parent fb81dda commit ef0e63b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,7 @@ public void onClick(View v) {
} else {
isRecording = false;
stopRecording();
Attachment attachment = new Attachment(Uri.parse(recordName), Constants.MIME_TYPE_AUDIO);
Attachment attachment = new Attachment(Uri.fromFile(new File(recordName)), Constants.MIME_TYPE_AUDIO);
attachment.setLength(audioRecordingTime);
addAttachment(attachment);
mAttachmentAdapter.notifyDataSetChanged();
Expand Down
3 changes: 2 additions & 1 deletion omniNotes/src/main/res/raw/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
-->
<changelog bulletedList="true">

<changelogversion versionName="5.2.13" changeDate="Jun 01, 2016">
<changelogversion versionName="5.2.13" changeDate="Jun 03, 2016">
<changelogtext>[i]Improved[/i] Archived notes are now hidden within home widgets</changelogtext>
<changelogtext>[i]Improved[/i] Updated Dutch, Polish and Spanish translations (thanks translators!)</changelogtext>
<changelogtext>[u]Fix[/u] Navigation change issue when app is opened from home widget</changelogtext>
<changelogtext>[u]Fix[/u] Broken share with ON function when attachments are included on Android Marshmallow</changelogtext>
<changelogtext>[u]Fix[/u] Geolocation runtime permission request when not needed</changelogtext>
<changelogtext>[u]Fix[/u] Sharing notes with audio recordings (to fix previously created notes with audio simply share that notes with ON itself: this will create a new fixed note)</changelogtext>
</changelogversion>

<changelogversion versionName="5.2.12" changeDate="May 15, 2016">
Expand Down

0 comments on commit ef0e63b

Please sign in to comment.