DescriptionHandle no cellular device more gracefully in choose-mobile-network UI.
chrome://choose-mobile-network can be launched on a Chromebook without
any cellular modem. This CL changes the UI to handle such case more
gracefully:
- Without overhauling the UI too much, the UI is changed to simply show
'No networks found'.
- When the Cancel button is pressed, the UI performs nothing.
BUG=714547
TEST=Tested the following:
- Launch chrome://choose-mobile-network on a Chromebook without a
cellular modem. Verify that the UI shows 'No networks found'.
Click the Cancel button and verify that the UI doesn't crash.
- Launch chrome://choose-mobile-network on a Chromebook with a cellular
modem. Verify that the UI can populate a list of networks after
successfully scanning for networks, and the Connect and Cancel button
function correctly.
Review-Url: https://codereview.chromium.org/2851863003
Cr-Commit-Position: refs/heads/master@{#468176}
Committed: https://chromium.googlesource.com/chromium/src/+/5276c8837ad126b4ef5de6dd3216c18e81d5e6b6
Patch Set 1 #
Messages
Total messages: 12 (9 generated)
|