Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4909)

Unified Diff: chrome/browser/chromeos/mobile/mobile_activator.cc

Issue 12041029: Add ResetModem method and call it once non_cellular activation is done. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_impl_stub.cc ('k') | chromeos/dbus/mock_shill_device_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/mobile/mobile_activator.cc
diff --git a/chrome/browser/chromeos/mobile/mobile_activator.cc b/chrome/browser/chromeos/mobile/mobile_activator.cc
index 3fa1a4d9b90d16838861ef5bbf72e24b15a305d1..71cb8f360ae1198f833613c539292dc317f28716 100644
--- a/chrome/browser/chromeos/mobile/mobile_activator.cc
+++ b/chrome/browser/chromeos/mobile/mobile_activator.cc
@@ -279,6 +279,8 @@ void MobileActivator::HandleSetTransactionStatus(bool success) {
CellularNetwork* network = FindMatchingCellularNetwork(true);
if (network && network->activate_over_non_cellular_network()) {
state_ = PLAN_ACTIVATION_DONE;
+ // We're done with activation, reset the cellular device.
+ lib->ResetModem();
EvaluateCellularNetwork(network);
} else {
StartOTASP();
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_impl_stub.cc ('k') | chromeos/dbus/mock_shill_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698