History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8215559cd1141ac90c478fd3df75e43c9d755c6c 01-Nov-2014 Cheuksan Wang <edwang@google.com> Use the AIDL based API to communicate with the carrier app.

Implements SMS sending.

BUG: 18005911

Change-Id: I467036b59b51905532e7ce1591dcb2e2856ef2d3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
4bd1dec4138ac11a91a8ec606a27fc4c5c63f14b 12-Nov-2014 Ye Wen <ywen@google.com> Stop persisting SMS into OUTBOX before sending

Persisting SMS into OUTBOX before sending proved to cause
problems with Messaging app (and potentially other apps) that could try
sending messages in OUTBOX without being asked as manifested in bug
b/18155366. This CL only presists SMS after it is being sent.

b/18202414

Change-Id: Ie0d0e088549bf0853b364e4d33eed2a5d79a7758
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
b29851580bba4a13ddbf7a534d8b09295eb2c60f 10-Jul-2014 Ye Wen <ywen@google.com> New SMS and MMS APIs and semantics (2/4)

1. Rest of the new SMS and MMS APIs
2. Auto persisting MMS WAP Push
3. Partial multi-sim support
4. New SMS/MMS database columns: archived and creator
5. Record message creator
6. Mms config access APIs

b/14095333

Change-Id: Idb0ab75384b2c949f1a6ebe8f1c33e90a06a4d9b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
cafda9904d2804959d51697cdc63a185e687cb98 12-Jul-2014 Colin Cross <ccross@google.com> Revert "New SMS and MMS APIs and semantics (2/4)"

This reverts commit c5f9236283882b8e08390ac52e5b1fab2d3bc2fb.

Change-Id: I9585dabfc31611e68718859ea509b8f52535d9b5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
c5f9236283882b8e08390ac52e5b1fab2d3bc2fb 10-Jul-2014 Ye Wen <ywen@google.com> New SMS and MMS APIs and semantics (2/4)

1. Rest of the new SMS and MMS APIs
2. Auto persisting MMS WAP Push
3. Partial multi-sim support
4. New SMS/MMS database columns: archived and creator
5. Record message creator
6. Mms config access APIs

b/14095333

Change-Id: I9a4261753a803f520933b643c0bac708ab9f40a9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
c99dab56e20222b28cbc6238645feac938f1c333 20-Jun-2014 Ye Wen <ywen@google.com> SMS message auto persisting for sending

1. Added auto persisting when sending SMS messages. This feature is
enabled by a system property to avoid breaking existing apps.
2. Removed SMSDispatcher.mRemainingMessages and added per message
sending part count for sending multipart messages.
3. Refactored code to handle message sent or failed. Fixed bug that in
some situation SendNextMsg is not sent for failures.

Change-Id: I3298b139e484f1238a5c04dcc39fa88398bba679
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
d6bf802a1afd6dbd99b35804ec0ec565f2ac8e9e 23-Jun-2014 Cheuksan Wang <edwang@google.com> Merge "Send outbound messages via the default carrier app. Initially, the message will go into a pending state. There is a new API call to update the status of a message. If the carrier app cannot send the message, it will fall back to the default GSM/CDMA network."
8d8e8f45200d17b78d196d8cba389fd9c547ac11 21-Jun-2014 Cheuksan Wang <edwang@google.com> Send outbound messages via the default carrier app. Initially, the
message will go into a pending state. There is a new API call to
update the status of a message. If the carrier app cannot send the
message, it will fall back to the default GSM/CDMA network.

This is the same cl as 476721 which has already been approved by jsh@

Change-Id: I51d732b9cc40b371f77fd26d28e0836a466afc71
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
d498f853cb523efef7bd06629e222ea105104b11 20-Jun-2014 Ji Yang <yangji@google.com> Merge "Sorry, clicked the wrong button."
f653f91baeb35b18a47c8f80b6ca1b1361dea238 20-Jun-2014 Ji Yang <yangji@google.com> Sorry, clicked the wrong button.

Revert "Send outbound message via the default carrier app. Initially, the message will go into a pending state. There is a new API call to update the status of a message. If the carrier app cannot send the message, it will fall back to the default GSM/CDMA networ"

This reverts commit 112c36a6080b6902925d317218acc14183e29842.

Change-Id: I087672cf17551bcef438df30e97e8859e1060a2a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
7fac90e635330be124a709db5774b71ff3892348 20-Jun-2014 Ji Yang <yangji@google.com> Merge "Send outbound message via the default carrier app. Initially, the message will go into a pending state. There is a new API call to update the status of a message. If the carrier app cannot send the message, it will fall back to the default GSM/CDMA network."
112c36a6080b6902925d317218acc14183e29842 30-May-2014 Cheuksan Wang <edwang@google.com> Send outbound message via the default carrier app. Initially, the
message will go into a pending state. There is a new API call to
update the status of a message. If the carrier app cannot send the
message, it will fall back to the default GSM/CDMA network.

Change-Id: I12e4c16ee1f934561c453e125805d59a151271b4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
6f64a8956a101bd16c900017f7692f9284c6bdd6 18-Jun-2014 Anil Muthineni <anilmuthineni@google.com> Check that the PendingIntent is not null, before dispatching it.

Change-Id: I7e26d01ef9df3dc1e61135c4ae3287c619a93cd8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
63418bbd2a9d7cc88ae24cc5ae776c01d688fc3a 03-Jun-2014 Anil Muthineni <anilmuthineni@google.com> Add api to inject SMS PDUs

Change-Id: I58a518a7a6d6f43fef3d989bc0c8b21959404ed0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
ace9a749c5a2a5e07527f728b7331423d16c36cd 30-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> SMS over IMS bug fixes

This change includes the following:
1) SMS over IMS remaining patches which address review comments

2) Fix for Bug:11378993
For MT SMS over IMS, if an application uses the createFromPdu(byte[] pdu) API
instead of createFromPdu(byte[] pdu,String format) API, we first try to create
SmsMessage from raw PDU with the format of active phone. That either returns a
valid SmsMessage object or throws a RuntimeException causing the correct format
to be used the next time. If GsmSmsAddress is not valid, we should throw
a RuntimeException which is handled by createFromPdu(byte[] pdu)

3) Fix for Bug:11424054
Register for ICC changes and handle new SMS on ICC

Bug: 11378993, 11424054
Change-Id: I94bcfcf93d8205c2916997091617899c6ebdd5e5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
d2feaf918ab0c1173d4ada182532e48d0c0d3f77 31-Oct-2013 Wink Saville <wink@google.com> When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.

Without this change for devices where the phone can change, for instance
on N5 with Sprint the phone will change from a GSMPhone to a CDMALTEPhone
and messages will not be sent to the appropriate handler.

For Sprint this was most readily seen when the voice mail notification
wasn't sent to the notification manager.

Bug: 11254397
Change-Id: Ia0e764cf6fa04208a7e194a35435f251a177309f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ImsSMSDispatcher.java
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