Set MIME application/pgp-keys when sending a key

This commit is contained in:
fiaxh
2016-03-14 23:06:49 +01:00
parent faae8bc3d9
commit 966948d79b

View File

@@ -238,7 +238,7 @@ public class ViewKeyAdvShareFragment extends LoaderFragment implements
// let user choose application
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
// better send it via a Uri!