diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-06-12 22:02:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-12 22:02:36 +0000 |
commit | b6b92e66be27edb6d15a11df055b3035abf2d7cd (patch) | |
tree | f890938e48da53fbdafb0247bb58362d167dd1c4 | |
parent | f928bd25f30495db468d8205aaa4c4a57b46d086 (diff) | |
parent | 765d8d5d33dcaf449b5387501ac88cd5e40af57e (diff) |
Merge "Fix bug that two messengers app showing on sharing voicemail screen."
-rw-r--r-- | java/com/android/dialer/app/voicemail/VoicemailPlaybackPresenter.java | 2 |
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; |