From e20e513039c85d8ef8ca18686c0851a34bd4f796 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 5 Nov 2013 20:19:27 -0500 Subject: [PATCH] Sadly, KitKat's file manager fails to recognize our mimetype and won't let users import settings --- src/com/fsck/k9/activity/Accounts.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/Accounts.java b/src/com/fsck/k9/activity/Accounts.java index 4b2bf403b..0c6ed6d60 100644 --- a/src/com/fsck/k9/activity/Accounts.java +++ b/src/com/fsck/k9/activity/Accounts.java @@ -1373,7 +1373,8 @@ public class Accounts extends K9ListActivity implements OnItemClickListener { Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); i.addCategory(Intent.CATEGORY_OPENABLE); - i.setType(MimeUtility.K9_SETTINGS_MIME_TYPE); + i.setType("*/*"); // KitKat seems to be ignoring mimetypes and won't load settings + // MimeUtility.K9_SETTINGS_MIME_TYPE); PackageManager packageManager = getPackageManager(); List infos = packageManager.queryIntentActivities(i, 0);