mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Sadly, KitKat's file manager fails to recognize our mimetype and won't let users import settings
This commit is contained in:
parent
8f19d56f00
commit
e20e513039
@ -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<ResolveInfo> infos = packageManager.queryIntentActivities(i, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user