mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 07:58:50 -05:00
Merge pull request #68 from m0rph3us1987/master
Pass encrypted messages to different messaging services
This commit is contained in:
commit
c6743acfce
@ -778,7 +778,11 @@ public class EncryptActivity extends SherlockFragmentActivity {
|
|||||||
Log.d(Constants.TAG, "output: " + output);
|
Log.d(Constants.TAG, "output: " + output);
|
||||||
|
|
||||||
Intent emailIntent = new Intent(Intent.ACTION_SEND);
|
Intent emailIntent = new Intent(Intent.ACTION_SEND);
|
||||||
emailIntent.setType("text/plain; charset=utf-8");
|
|
||||||
|
//Type is set to text/plain so that encrypted messages can
|
||||||
|
//be sent with Whatsapp, Hangouts, SMS etc...
|
||||||
|
emailIntent.setType("text/plain");
|
||||||
|
|
||||||
emailIntent.putExtra(Intent.EXTRA_TEXT, output);
|
emailIntent.putExtra(Intent.EXTRA_TEXT, output);
|
||||||
if (mSubject != null) {
|
if (mSubject != null) {
|
||||||
emailIntent.putExtra(Intent.EXTRA_SUBJECT, mSubject);
|
emailIntent.putExtra(Intent.EXTRA_SUBJECT, mSubject);
|
||||||
|
Loading…
Reference in New Issue
Block a user