commit | 3ee2f415d9877ac8707661c49aac9f1021cd6664 | [log] [tgz] |
---|---|---|
author | Prathmesh Prabhu <pprabhu@chromium.org> | Tue May 20 17:30:19 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Thu May 22 04:57:37 2014 +0000 |
tree | 135ecb7c588a8d845dad9aa2c8f4827494e2d7c9 | |
parent | 347ff6d2966f089892e1703c7eb5871d224abec5 [diff] |
shill: cellular: Migrate activation paths to use MobileOperatorInfo. The code paths that determine whether cellular activation is required also verify that some online portal information is available. This CL migrates this check to be based off of the new MobileOperatorInfo objects. Before this CL, a new |CellularOperatorInfo| object was used to make this decision. BUG=chromium:371630 TEST=- Use pseudomodem to manually create a modem that exposes itself with operator id: '310995' operator name: '' subscription state: 'unknown' own: '0000000000' and verify that $ connectivity show devices shows the cellular service is 'not-activated'. - Run network_LTEActivate. Change-Id: I22cecffca1169e8abf25148b367d01520aa171bc Reviewed-on: https://chromium-review.googlesource.com/200687 Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>