commit | 29505ec166c72afd3dee2317795ca13f7ff94e10 | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Thu Sep 12 20:37:53 2013 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Tue Sep 17 00:30:25 2013 +0000 |
tree | f5102ada92aa7d546142b5b86fe1153df03f505b | |
parent | e28e1e513f8c2977aa31f27ecde5e89671610085 [diff] |
shill: cellular: CellularCapabilityGSM: No IMSI doesn't mean no SIM. CellularCapabilityGSM uses the availability of IMSI to determine if a SIM card is present. This logic fails if the SIM is locked, as the SIM will be present but the IMSI won't be accessible due to the lock. This CL fixes the code to take SIM lock into account. BUG=chromium:290549 TEST=Build and run unit tests. Change-Id: I6cffcf97e93e1361b28b094974825eb9910ee770 Reviewed-on: https://chromium-review.googlesource.com/169240 Reviewed-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org>