Don't show the intent picker icon when there is no app found.
Currently, if we have a website that redirects from a link that is in the scope of a installed PWA, to a link that is not in the scope of a PWA, the intent picker icon will show, and clicking it will show no bubble. This is a issue where we don't reset the intent picker icon view when we try to update the visual and found the app list we queried is empty. This CL fixes this issue and add a test for it. BUG=967296 Change-Id: I58184b70d739ba5b4b5ff9e3d4826327a485bde8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631153Reviewed-by:Dominick Ng <dominickn@chromium.org> Reviewed-by:
David Jacobo <djacobo@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: Maggie Cai <mxcai@chromium.org> Cr-Commit-Position: refs/heads/master@{#664689}
Showing
Please register or sign in to comment