Fix issue #40
This commit is contained in:
parent
f57b7ef5a3
commit
ad70d458cb
|
@ -917,9 +917,6 @@ public class Utils {
|
|||
Intent intent = new Intent();
|
||||
intent.setAction(Intent.ACTION_VIEW);
|
||||
String type = i.getType();
|
||||
if (type == null) {
|
||||
type = "text/html";
|
||||
}
|
||||
intent.setDataAndType(i.getData(), type);
|
||||
List<ResolveInfo> activities = context.getPackageManager().queryIntentActivities(intent, 0);
|
||||
ArrayList<Intent> targetIntents = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue