mirror of https://github.com/M66B/NetGuard.git
Allow importing hosts files of any mime type
This commit is contained in:
parent
1e75535836
commit
e965043116
|
@ -573,7 +573,7 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
|||
private static Intent getIntentOpenHosts() {
|
||||
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
|
||||
intent.addCategory(Intent.CATEGORY_OPENABLE);
|
||||
intent.setType("text/plain");
|
||||
intent.setType("*/*");
|
||||
return intent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue