Commit cc2560eb authored by Regan Hsu's avatar Regan Hsu Committed by Commit Bot

[CrOS IntantTethering] Remove UI modal on failed tether connection

Remove unhelpful UI modal that is displayed that just says "Configure
phone" which offers to connect to the phone again.  It doesn't seem
to be helpful.

Bug: 862794
Change-Id: I6637d9b9931f0ca1b38b6d57b9326a806dee923e
Reviewed-on: https://chromium-review.googlesource.com/c/1357529
Commit-Queue: Regan Hsu <hsuregan@chromium.org>
Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613186}
parent 3f54ff21
...@@ -617,10 +617,14 @@ Polymer({ ...@@ -617,10 +617,14 @@ Polymer({
console.error( console.error(
'networkingPrivate.startConnect error: ' + message + 'networkingPrivate.startConnect error: ' + message +
' For: ' + properties.GUID); ' For: ' + properties.GUID);
// There is no configuration flow for Instant Tethering networks.
if (properties.Type != CrOnc.Type.TETHER) {
this.showConfig_( this.showConfig_(
true /* configAndConnect */, properties.Type, properties.GUID, true /* configAndConnect */, properties.Type, properties.GUID,
name); name);
} }
}
}); });
}, },
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment