added Facebook links support, reworked Preferences

This commit is contained in:
Adithya Abraham Philip
2015-11-25 01:35:41 +05:30
parent a0b46b0d3b
commit f29280bbb2
26 changed files with 557 additions and 377 deletions

View File

@@ -681,6 +681,22 @@
<data android:pathPattern="/pks/lookup.*" />
</intent-filter>
<!-- VIEW from facebook public key urls opened in a browser -->
<intent-filter android:label="@string/intent_import_key">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="https" />
<data android:scheme="http" />
<data android:host="www.facebook.com" />
<data android:host="facebook.com" />
<data android:pathPattern="/..*/publickey/download" />
</intent-filter>
<!-- IMPORT_KEY with files TODO: does this work? -->
<intent-filter android:label="@string/intent_import_key">
<action android:name="org.sufficientlysecure.keychain.action.IMPORT_KEY" />