Add status url as EXTRA_SUBJECT when sharing status content. (#1680)
Addresses #1655
This commit is contained in:
parent
656644b7cb
commit
710b9f08c1
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ public abstract class SFragment extends BaseFragment implements Injectable {
|
||||||
" - " +
|
" - " +
|
||||||
statusToShare.getContent().toString();
|
statusToShare.getContent().toString();
|
||||||
sendIntent.putExtra(Intent.EXTRA_TEXT, stringToShare);
|
sendIntent.putExtra(Intent.EXTRA_TEXT, stringToShare);
|
||||||
|
sendIntent.putExtra(Intent.EXTRA_SUBJECT, statusUrl);
|
||||||
sendIntent.setType("text/plain");
|
sendIntent.setType("text/plain");
|
||||||
startActivity(Intent.createChooser(sendIntent, getResources().getText(R.string.send_status_content_to)));
|
startActivity(Intent.createChooser(sendIntent, getResources().getText(R.string.send_status_content_to)));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue