mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Fixes to use import intents without file data
This commit is contained in:
parent
8039d70876
commit
03e6843380
@ -307,13 +307,19 @@
|
||||
<!-- APG's own Actions -->
|
||||
<intent-filter android:label="@string/intent_import_key" >
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT_FROM_QR_CODE" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT_FROM_NFC" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
<!-- IMPORT again without mimeType to also allow data only without filename -->
|
||||
<intent-filter android:label="@string/intent_import_key" >
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT_FROM_QR_CODE" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT_FROM_NFC" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<!-- Linking "Import key" to file types -->
|
||||
<intent-filter android:label="@string/intent_import_key" >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
Loading…
Reference in New Issue
Block a user