mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 16:38:50 -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" />
|
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
<!-- mime type as defined in http://tools.ietf.org/html/rfc3156, section 7 -->
|
||||||
<data android:mimeType="application/org.sufficientlysecure.keychain" />
|
<data android:mimeType="application/pgp-keys" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity android:name=".ui.ShareActivity" >
|
<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 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
|
public static final String PERMISSION_ACCESS_KEY_DATABASE = PACKAGE_NAME
|
||||||
+ ".permission.ACCESS_KEY_DATABASE";
|
+ ".permission.ACCESS_KEY_DATABASE";
|
||||||
|
Loading…
Reference in New Issue
Block a user