Allow importing hosts files of any mime type

This commit is contained in:
M66B 2016-01-24 07:58:04 +01:00
parent 1e75535836
commit e965043116
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
private static Intent getIntentOpenHosts() { private static Intent getIntentOpenHosts() {
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE); intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("text/plain"); intent.setType("*/*");
return intent; return intent;
} }