diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-28 04:15:29 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-28 04:15:29 +0000 |
commit | e01ca5ef9b041327793c3ad8d79caafa031df3c8 (patch) | |
tree | 05430a732a4de3e909445253fc920420f5902be2 /chrome/browser/chromeos/cros/network_library.cc | |
parent | a390abf83dda98b03cbdcb04a0578834ded0c54e (diff) | |
download | chromium_src-e01ca5ef9b041327793c3ad8d79caafa031df3c8.zip chromium_src-e01ca5ef9b041327793c3ad8d79caafa031df3c8.tar.gz chromium_src-e01ca5ef9b041327793c3ad8d79caafa031df3c8.tar.bz2 |
Show settings page if an activating network is selected to connect to
BUG=178271
Review URL: https://chromiumcodereview.appspot.com/12315134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/network_library.cc')
-rw-r--r-- | chrome/browser/chromeos/cros/network_library.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/cros/network_library.cc b/chrome/browser/chromeos/cros/network_library.cc index 49acbad..c7bc032 100644 --- a/chrome/browser/chromeos/cros/network_library.cc +++ b/chrome/browser/chromeos/cros/network_library.cc @@ -903,8 +903,8 @@ bool CellularNetwork::SupportsActivation() const { } bool CellularNetwork::NeedsActivation() const { - return (activation_state() != ACTIVATION_STATE_ACTIVATED && - activation_state() != ACTIVATION_STATE_UNKNOWN); + return (activation_state() == ACTIVATION_STATE_NOT_ACTIVATED || + activation_state() == ACTIVATION_STATE_PARTIALLY_ACTIVATED); } GURL CellularNetwork::GetAccountInfoUrl() const { |