commit | 4ef02fd4a941c3ad89d1f2215b0cc0ab9bcb206d | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Thu Jun 13 20:14:20 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Sun Jun 16 20:14:00 2013 -0700 |
tree | 70455e81da44ebd3744f89c7cd4b9f36165ef26e | |
parent | cd89289893e98d68a1eced7eed4a61fab785050e [diff] |
shill: cellular: Always report that SIM lock is enabled if SIM is locked. The Cellular.SIMLockStatus/0/enabled property might be set to false, even though the SIM is locked. This is because the corresponding ModemManager property 'EnabledFacilityLocks' belongs to the 3GPP interface and the 3GPP interface is not available while the Modem is in the 'LOCKED' state. BUG=chromium:249570 TEST=(1) Build and run unit tests. (2) On a device running ModemManager: - Enable SIM lock. - Reset the modem. - Use "connectivity show devices" to verify that Cellular.*LockEnabled is "true". Change-Id: Ibfdad757b5bac7da01e8387dc529559113be310c Reviewed-on: https://gerrit.chromium.org/gerrit/58627 Reviewed-by: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Arman Uguray <armansito@chromium.org>