DescriptionFix Different default browser breaks webapk affinity.
On L+, when a default browser is set, PackageManager#queryIntentActivities()
with flag |PackageManager.MATCH_DEFAULT_ONLY| will return only the ResolvedInfo
of the default browser, rather than the ones of all installed browsers. This makes
WebApkUtils#getInstalledBrowserResolveInfos() returns wrong resutls. To fix it,
we pass in |PackageManager.MATCH_ALL| as flag.
BUG=738506
Review-Url: https://codereview.chromium.org/2964273002
Cr-Commit-Position: refs/heads/master@{#483843}
Committed: https://chromium.googlesource.com/chromium/src/+/0afceb5ed2c32fcc061e2ad0d8d9df87261d3d46
Patch Set 1 #Patch Set 2 : Rebase. #
Messages
Total messages: 11 (7 generated)
|