diff options
author | benchan@chromium.org <benchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-18 01:55:17 +0000 |
---|---|---|
committer | benchan@chromium.org <benchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-18 01:55:17 +0000 |
commit | f36f84cc1be4e03a921e365ff7b9c93a8cd6c325 (patch) | |
tree | 7a2b254a79a3ef528c851d5e88567f2c7ba27137 /chrome/browser/chromeos/cros/cellular_data_plan.h | |
parent | f9526d17e1eb2ae23c805c3dbe1ee5d489cc01f2 (diff) | |
download | chromium_src-f36f84cc1be4e03a921e365ff7b9c93a8cd6c325.zip chromium_src-f36f84cc1be4e03a921e365ff7b9c93a8cd6c325.tar.gz chromium_src-f36f84cc1be4e03a921e365ff7b9c93a8cd6c325.tar.bz2 |
Use shill Cellular.SIMPresent to determine if a SIM card is present.
Instead of relying on a non-empty IMSI value, the Cellular.SIMPresent
property exposed by shill provides a more robust way to determine SIM
presence.
BUG=chromium-os:34002
TEST=Verified the following:
1. A GSM modem cannot be enabled if there is no SIM card.
2. A GSM modem can be enabled/disabled if there is a SIM card with or
without PIN lock.
3. A CDMA modem can always be enabled/disabled.
Review URL: https://chromiumcodereview.appspot.com/11187031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/cellular_data_plan.h')
0 files changed, 0 insertions, 0 deletions