Set MIME application/pgp-keys when sending a key
This commit is contained in:
@@ -238,7 +238,7 @@ public class ViewKeyAdvShareFragment extends LoaderFragment implements
|
|||||||
|
|
||||||
// let user choose application
|
// let user choose application
|
||||||
Intent sendIntent = new Intent(Intent.ACTION_SEND);
|
Intent sendIntent = new Intent(Intent.ACTION_SEND);
|
||||||
sendIntent.setType("text/plain");
|
sendIntent.setType(Constants.MIME_TYPE_KEYS);
|
||||||
|
|
||||||
// NOTE: Don't use Intent.EXTRA_TEXT to send the key
|
// NOTE: Don't use Intent.EXTRA_TEXT to send the key
|
||||||
// better send it via a Uri!
|
// better send it via a Uri!
|
||||||
|
|||||||
Reference in New Issue
Block a user