History log of /frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
676e73ec8586d1a8f2b471780d198e556ea95ecf 04-Jun-2016 Amit Mahajan <amitmahajan@google.com> Do not create SmsMessage obj if it cannot be parsed correctly.

Bug: 29123941
Change-Id: Ic77220c05e4a712a16ac32563ddb45a318452d71
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
306ab2c93d1a1102c3029fd95e2c586a0f82091e 09-Feb-2016 Amit Mahajan <amitmahajan@google.com> New unit test for GsmCdmaPhone and fixes for some existing tests

Bug: 25691379
Change-Id: I323fdef84792459db312df7bd58917e52a1a995e
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
abb3502255794a3ae7631b77fc23367a68f0c952 09-Feb-2016 Brian Carlstrom <bdc@google.com> Revert "New unit test for GsmCdmaPhone and fixes for some existing tests"

This reverts commit a57aed75dc5d8546afd8b88eab11cc5591068b69, reversing
changes made to eaa22b28cdb10244865e8d163c19ff27d0c9c5e2.
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
78867803826b15ff95c8ee8c7c6f65dfb7ad258f 09-Feb-2016 Amit Mahajan <amitmahajan@google.com> New unit test for GsmCdmaPhone and fixes for some existing tests

Bug: 25691379
Change-Id: I323fdef84792459db312df7bd58917e52a1a995e
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
e472090bda6d8c16975807e37b52e6bb558426bf 08-Apr-2015 Cheuksan Wang <edwang@google.com> split long messages with 4-byte unicode characters correctly

also fix SmsMessage.calculateLength() for the same case
refactor to remove some duplicated code

BUG: 19535708
Change-Id: Ie2b46d54fdf09b5979e34d6aa1f7e1cb6dff56f8
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
b12b6f7260d84c853bd585b23623509a18686f1e 02-Apr-2015 Cheuksan Wang <edwang@google.com> Update the SmsMessage.createFromPdu() API call

Deprecate the old createFromPdu(byte[] pdu) call because it just
guesses the format of the PDU. Instead, unhide the
createFromPdu(byte[] pdu, String format) call which specifies the PDU
format.

BUG: 20015718
Change-Id: I3f1e2387bca72bc18d76f8c993ceee5cab2a9dec
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
3ce96a061c2c6e24f4ff3bd237e18c29fc0c0108 19-Feb-2015 Amit Mahajan <amitmahajan@google.com> Adding a new param to calculateLength for SMS to indicate if called for a
segment of multipart msg.

Encoding type is calculated separately for entire msg vs individual
segments. Change is to avoid overwriting the calculated value for
individual segment based.

Bug: 19399335
Change-Id: I8e89b7596e9c7440ace0486eceb1252094c373fa
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
e70617d81dcd42350a737b11c25532e1d43df4ff 22-Jan-2015 Legler Wu <legler.wu@mediatek.com> [DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.
Ex. PROPERTY_ICC_OPERATOR_NUMERIC

Bug: 18675498
Change-Id: I68b4de1817bb5a34d4a54685332f856e79a39d60
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
f6c0e3489a9365a4851bf3ed19dab18773ecbf65 29-Jan-2015 Amit Mahajan <amitmahajan@google.com> Changes to make sure READ_PHONE_STATE permission is not needed to send SMS.

Bug: 19112332
Change-Id: I7da30ebcebaf57f713acc6938626930dbc51d1f2
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
b237a11044ed842d2865ff8c8716befb06b6ca25 25-Oct-2014 Wink Saville <wink@google.com> Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
8b53bb26569395511e3dbd5f94bda74ea6b9e37c 29-Jul-2014 Xia Ying <yingxia@motorola.com> Sms7BitEncodingTranslator

Bug: 16197894
Change-Id: I389248343c4ee621a1e8980481987742623bcbe7
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
2463a1471273614bda6d3db8f207b31ca27443cc 25-Aug-2014 Xia Ying <yingxia@motorola.com> Add gid to configure no_ems_support_sim_operators

Since several carriers used same mccmnc, we need to
add gid to distinguish them.

Change-Id: Ic0af3f19c9621fa22a7ecb7c1508962cf6a8867b
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
f3166841bf9df142e2fbd63b7647bae7da712044 15-Jul-2014 Xia Ying <yingxia@motorola.com> Add page info in each segment if carrier does not support EMS.

If EMS is not supported, framework breaks down EMS into single segment
SMS and adds page info " x/y".

In the case of UCS2 encoding type, we need 8 bytes for this, but we
only have 6 bytes from UDH, so truncate the limit for each segment by
2 bytes (1 char).

Change-Id: Ie4f7e233155ce392c14ae75946c9d62d4897013c
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.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/android/telephony/SmsMessage.java
29305a0d8e45e8b6731ab91e59fcba7a4d6ff766 21-Oct-2013 Scott Main <smain@google.com> more sms provider docs

Change-Id: I1967446a9709d88625cbcbc89b70228744dbf38a
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.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/android/telephony/SmsMessage.java
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea 23-Feb-2013 Wink Saville <wink@google.com> Clean up

- Add @Overrides where needed.
- Update javadoc comments
- Remove extra semi-colons
- Rename DataConnection.java to DataConnectionBase.java
- Rename GsmDataConnection.java to DataConnection.java
- Add defaults to switch statements
- Remove/fix most "if (false)" statements. Fixed by using a CONSTANT
- Fix hidden variables by hoisting to base class or renaming
- Tweak some debug output

Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
99c2e1d6749cfad2a8ca94a47857d8c3bfc09454 27-Nov-2012 Wink Saville <wink@google.com> Use Rlog instead of Log.

Change-Id: I2f44193b294513e743526e5c163e7d9a45308b28
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java
0825495a331bb44df395a0cdb79fab85e68db5d5 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/android/telephony/SmsMessage.java