Add devices to intent picker list if no apps found.
There is an edge case where ARC returns an empty list of handlers for tel links. Usually there is at least the Contacts app installed but in case there was an error we still want to append devices to select from. With this change we always call through ShowExternalProtocolDialogWithoutApps which then calls ShowFallbackExternalProtocolDialog if there are no devices. Test: Added a test case that verifies that for an empty list of apps we correctly show the external protocol dialog with devices. Bug: 1020155 Change-Id: Idb55d8548d8c428c6864a3f6cdf50baa8ffff663 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890440Reviewed-by:Hidehiko Abe <hidehiko@chromium.org> Reviewed-by:
David Jacobo <djacobo@chromium.org> Commit-Queue: Richard Knoll <knollr@chromium.org> Cr-Commit-Position: refs/heads/master@{#712728}
Showing
Please register or sign in to comment