Skip to content

Commit

Permalink
Merge branch 'master' of github.com:open-keychain/open-keychain
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Schürmann committed Aug 20, 2014
2 parents d26c6b1 + c86ef06 commit c00d619
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions OpenKeychain/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,17 @@
android:label="@string/title_decrypt"
android:windowSoftInputMode="stateHidden">

<!-- VIEW with mimeType application/pgp-encrypted -->
<!-- VIEW with mimeType application/octet-stream, application/pgp and text/pgp -->
<intent-filter android:label="@string/intent_send_decrypt">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />

<!-- mime type as defined in http://tools.ietf.org/html/rfc3156 -->
<data android:mimeType="application/pgp-encrypted" />
<data android:mimeType="application/octet-stream" />
<data android:mimeType="application/pgp" />
<data android:mimeType="text/pgp" />
</intent-filter>
<!-- Keychain's own Actions -->
<!-- DECRYPT with text as extra -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ private Intent createSendIntent(Message message) {
sendIntent = new Intent(Intent.ACTION_SEND_MULTIPLE);
sendIntent.putExtra(Intent.EXTRA_STREAM, mOutputUris);
}
sendIntent.setType("application/pgp-encrypted");
sendIntent.setType("application/octet-stream");
}
if (!isModeSymmetric() && mEncryptionUserIds != null) {
Set<String> users = new HashSet<String>();
Expand Down

0 comments on commit c00d619

Please sign in to comment.