mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 00:18:51 -05:00
Use mime type in NFC as defined in RFC3156
This commit is contained in:
parent
a186686109
commit
4813345460
@ -394,8 +394,8 @@
|
||||
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="application/org.sufficientlysecure.keychain" />
|
||||
<!-- mime type as defined in http://tools.ietf.org/html/rfc3156, section 7 -->
|
||||
<data android:mimeType="application/pgp-keys" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".ui.ShareActivity" >
|
||||
|
@ -26,7 +26,8 @@ public final class Constants {
|
||||
|
||||
public static final String PACKAGE_NAME = "org.sufficientlysecure.keychain";
|
||||
|
||||
public static final String NFC_MIME = "application/org.sufficientlysecure.keychain";
|
||||
// as defined in http://tools.ietf.org/html/rfc3156, section 7
|
||||
public static final String NFC_MIME = "application/pgp-keys";
|
||||
|
||||
public static final String PERMISSION_ACCESS_KEY_DATABASE = PACKAGE_NAME
|
||||
+ ".permission.ACCESS_KEY_DATABASE";
|
||||
|
Loading…
Reference in New Issue
Block a user