commit | 6a9b806333c1c633a97bd2da4ce1ae4d091a9d56 | [log] [tgz] |
---|---|---|
author | Meng Wang <mewan@google.com> | Tue Apr 11 11:45:53 2017 -0700 |
committer | Meng Wang <mewan@google.com> | Tue Apr 11 12:04:41 2017 -0700 |
tree | 1d6a14641fc159c653938b6df1b8dd7c7031d4e8 | |
parent | b40f09bceb76d597ba7d189538a6c078e5af9477 [diff] |
Supress SIM_STATE_UNKNOWN when not PERSOSUBSTATE_SIM_NETWORK During APPSTATE_SUBSCRIPTION_PERSO, we don't know if SIM locked or not before PERSOSUBSTATE_SIM_NETWORK. Setting SIM state UNKNOWN on APPSTATE_SUBSCRIPTION_PERSO with other substate introduces uncessary SIM state transition. It's OK to just keep the last SIM state (NOT_READY,for example, the initial state during phone bootup). Also fixed import. Test: make Change-Id: I89d479a51c81fe25713f3694f640e2eead1888cd