Skip to content

Commit

Permalink
Merge pull request #671 from ytRino/match-intent
Browse files Browse the repository at this point in the history
Fix incorrect intent list
  • Loading branch information
takahirom authored Aug 20, 2024
2 parents c79cdf5 + fc4257f commit eacd730
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ private class ExternalNavController(
val specializedActivityIntent = Intent(Intent.ACTION_VIEW, uri)
.addCategory(Intent.CATEGORY_BROWSABLE)
val resolvedSpecializedList: MutableSet<String> =
pm.queryIntentActivities(browserActivityIntent, 0)
pm.queryIntentActivities(specializedActivityIntent, 0)
.map { it.activityInfo.packageName }
.toMutableSet()

Expand Down

0 comments on commit eacd730

Please sign in to comment.