OSDN Git Service

Separate SIM states from Radio States
authorNaveen Kalla <nkalla@quicinc.com>
Thu, 8 Dec 2011 00:22:53 +0000 (16:22 -0800)
committerWink Saville <wink@google.com>
Wed, 28 Dec 2011 18:56:36 +0000 (10:56 -0800)
commit2bc78d614e349574426d198c37e51ccb7455b5bb
tree075aff2b6745b3b031679b5e78728cab2aceb554
parenteb902b80c2b46e59b12b2bded315e7f620f87c7e
Separate SIM states from Radio States

A UICC can have multiple applications (USIM, CSIM). Both USIM and CSIM may be Ready.
So indicating modem state as SIM_READY/RUIM_READY will be incorrect. RADIO_ON is a more
appropriate Radio State. SIM status can be obtained from the RIL_REQUEST_GET_SIM_STATUS
and RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED messages.

The change does the following

 - Remove SIM states from RIL_RadioState
 - Add messages to indicate voice radio technology

Change-Id: Ic7b540eefb741169ec22499d0e00961feb22a456
include/telephony/ril.h
libril/ril.cpp
libril/ril_commands.h
libril/ril_unsol_commands.h