properly format song share string
This commit is contained in:
parent
ccce5623b1
commit
308ef3c88e
3 changed files with 7 additions and 11 deletions
|
|
@ -36,15 +36,11 @@ public class SongShareDialog extends DialogFragment {
|
|||
startActivity(Intent.createChooser(MusicUtil.createShareSongFileIntent(song, getContext()), null));
|
||||
break;
|
||||
case 1:
|
||||
startActivity(
|
||||
Intent.createChooser(
|
||||
new Intent()
|
||||
.setAction(Intent.ACTION_SEND)
|
||||
.putExtra(Intent.EXTRA_TEXT, currentlyListening)
|
||||
.setType("text/plain"),
|
||||
null
|
||||
)
|
||||
);
|
||||
Intent intent = new Intent()
|
||||
.setAction(Intent.ACTION_SEND)
|
||||
.putExtra(Intent.EXTRA_TEXT, currentlyListening)
|
||||
.setType("text/plain");
|
||||
startActivity(Intent.createChooser(intent, null));
|
||||
break;
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue