From 7e3c985c54bb94c81491de93d7f347a1f88558ec Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Wed, 23 May 2018 15:02:10 +0200 Subject: [PATCH] Add intent filter for handling WKD link in Firefox Firefox for Android requires `mimeType` condition on the intent filter. Built-in browsers (e.g. Chrome) need an intent filter that will *not* have `mimeType` conditions. Using two common MIME types: `application/octet-stream` is mentioned in the I-D and `application/pgp-keys` is a common type for keys used in the wild. --- OpenKeychain/src/main/AndroidManifest.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/OpenKeychain/src/main/AndroidManifest.xml b/OpenKeychain/src/main/AndroidManifest.xml index 257fbcf78..b6ab4338d 100644 --- a/OpenKeychain/src/main/AndroidManifest.xml +++ b/OpenKeychain/src/main/AndroidManifest.xml @@ -719,7 +719,7 @@ - + @@ -732,6 +732,27 @@ + + + + + + + + + + + + + + + + + + + + +