summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/app/voicemail/VoicemailPlaybackPresenter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/dialer/app/voicemail/VoicemailPlaybackPresenter.java b/java/com/android/dialer/app/voicemail/VoicemailPlaybackPresenter.java
index e4c075b7d..0c82a637e 100644
--- a/java/com/android/dialer/app/voicemail/VoicemailPlaybackPresenter.java
+++ b/java/com/android/dialer/app/voicemail/VoicemailPlaybackPresenter.java
@@ -962,7 +962,7 @@ public class VoicemailPlaybackPresenter
shareIntent.putExtra(Intent.EXTRA_STREAM, voicemailFileUri);
shareIntent.putExtra(Intent.EXTRA_TEXT, transcription);
shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
- shareIntent.setType("*/*");
+ shareIntent.setType(context.getContentResolver().getType(voicemailFileUri));
}
return shareIntent;