Dont force OpenKeychain in open with for pgp-keys

This commit is contained in:
Dominik Schürmann
2015-10-15 16:52:27 +02:00
parent 6ea89a0892
commit c4b3dc0643

View File

@@ -534,7 +534,7 @@ public class DecryptListFragment
intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(outputUri, metadata.getMimeType());
if ("application/pgp-keys".equals(metadata.getMimeType())) {
if (!forceChooser && "application/pgp-keys".equals(metadata.getMimeType())) {
// bind Intent to this OpenKeychain, don't allow other apps to intercept here!
intent.setPackage(getActivity().getPackageName());
}