1260f1c6c909f2940989b72afe1b91fd83845eaa |
|
14-Sep-2013 |
Sukanya Rajkhowa <srajkh@codeaurora.org> |
Support SMS over IMS ImsSMSDispatcher is part of IccSmsInterfaceManager. It always receives calls to send sms first and decides whether to use ims call flow or gsm/cdma based on response to REQUEST_IMS_REGISTRATION_STATE. When ims is registered and sms is supported, the request also returns sms format to use. In case of sms over ims failure, RIL_REQUEST_IMS_SEND_SMS sets messageRef from RIL_SMS_RESPONSE of corresponding failed MO SMS, and sets retry field to non-zero. If voice is available, sends RIL_REQUEST_IMS_SEND_SMS retries with data encoded based on voice tech available. If voice is not available, sets retry counter to max and skips retries and sends failure to client. Bug: 9626411 Change-Id: I4c63c8fc0eb2191847b509e66772e3de27d491ed Signed-off-by: Ed Tam <etam@google.com> Conflicts: src/java/com/android/internal/telephony/gsm/GSMPhone.java
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
|