|
|
@ -80,7 +80,7 @@ public class IntentUtils { |
|
|
|
PackageManager pm = mActivity.getPackageManager(); |
|
|
|
PackageManager pm = mActivity.getPackageManager(); |
|
|
|
List<ResolveInfo> handlers = pm.queryIntentActivities(intent, |
|
|
|
List<ResolveInfo> handlers = pm.queryIntentActivities(intent, |
|
|
|
PackageManager.GET_RESOLVED_FILTER); |
|
|
|
PackageManager.GET_RESOLVED_FILTER); |
|
|
|
if (handlers == null || handlers.size() == 0) { |
|
|
|
if (handlers == null || handlers.isEmpty()) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
for (ResolveInfo resolveInfo : handlers) { |
|
|
|
for (ResolveInfo resolveInfo : handlers) { |
|
|
|