aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2013-09-22 20:17:55 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2013-09-22 20:17:55 +0200
commit2e83d92dd04c07d5a1eb6ea2dd8b1eb071056876 (patch)
tree33595f42a8b10c8f522d8e80c2f99ac7f1f2f3a5 /OpenPGP-Keychain
parent917c86b52454d2984ac116ace8e56c75f1e244fb (diff)
downloadopen-keychain-2e83d92dd04c07d5a1eb6ea2dd8b1eb071056876.tar.gz
open-keychain-2e83d92dd04c07d5a1eb6ea2dd8b1eb071056876.tar.bz2
open-keychain-2e83d92dd04c07d5a1eb6ea2dd8b1eb071056876.zip
Better support for gpg files in CMs file manager
Diffstat (limited to 'OpenPGP-Keychain')
-rw-r--r--OpenPGP-Keychain/AndroidManifest.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenPGP-Keychain/AndroidManifest.xml b/OpenPGP-Keychain/AndroidManifest.xml
index 214ffeb0e..c080f8ee6 100644
--- a/OpenPGP-Keychain/AndroidManifest.xml
+++ b/OpenPGP-Keychain/AndroidManifest.xml
@@ -36,10 +36,13 @@
The file ending only shows if it is binary or ascii encoded.
Remarks about the ugly android:pathPattern:
- We are matching all files with a specific file ending.
+ - We are matching all files with a specific file ending.
This is done in an ugly way because of Android limitations.
Read http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension and http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i/8599921
for more information.
+ - Do _not_ set mimeType for gpg!
+ Cyanogenmod's file manager will only show Keychain for gpg files if no mimeType is set!
+ For OI Filemanager it makes no difference, gpg files can't be associated
-->
<uses-sdk
@@ -208,7 +211,6 @@
<data android:host="*" />
<data android:scheme="file" />
<data android:scheme="content" />
- <data android:mimeType="*/*" />
<!-- Workaround to match files in pathes with dots in them, like /cdcard/my.folder/test.gpg -->
<data android:pathPattern=".*\\.gpg" />
<data android:pathPattern=".*\\..*\\.gpg" />
@@ -295,7 +297,6 @@
<data android:host="*" />
<data android:scheme="file" />
<data android:scheme="content" />
- <data android:mimeType="*/*" />
<data android:pathPattern=".*\\.gpg" />
<data android:pathPattern=".*\\..*\\.gpg" />
<data android:pathPattern=".*\\..*\\..*\\.gpg" />