mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-01-25 13:38:43 +01:00
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…
x
Reference in New Issue
Block a user