diff options
author | Taesu Lee <taesu82.lee@samsung.com> | 2020-07-09 18:06:24 +0900 |
---|---|---|
committer | Taesu Lee <taesu82.lee@samsung.com> | 2020-07-09 19:23:27 +0900 |
commit | c483107ac7dddc987998fdb5733c6a633e514b70 (patch) | |
tree | 54d09265a57866ec54ac75472164fa4e33415efa /telephony/java/com | |
parent | 628198a90f2ab46f5b30160469a3df728ebc619e (diff) |
Delete newFromCMT() and newFromCDS() from SmsMessage
Bug: 160847655
Test: build
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: Ie451a24ef6b6c03ee8668fb055d83c7cc4175cdb
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/gsm/SmsMessage.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java b/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java index 122f0851cf37..c2cc671f0bda 100644 --- a/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java +++ b/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java @@ -140,38 +140,6 @@ public class SmsMessage extends SmsMessageBase { } /** - * TS 27.005 3.4.1 lines[0] and lines[1] are the two lines read from the - * +CMT unsolicited response (PDU mode, of course) - * +CMT: [<alpha>],<length><CR><LF><pdu> - * - * Only public for debugging - * - * {@hide} - */ - public static SmsMessage newFromCMT(byte[] pdu) { - try { - SmsMessage msg = new SmsMessage(); - msg.parsePdu(pdu); - return msg; - } catch (RuntimeException ex) { - Rlog.e(LOG_TAG, "SMS PDU parsing failed: ", ex); - return null; - } - } - - /** @hide */ - public static SmsMessage newFromCDS(byte[] pdu) { - try { - SmsMessage msg = new SmsMessage(); - msg.parsePdu(pdu); - return msg; - } catch (RuntimeException ex) { - Rlog.e(LOG_TAG, "CDS SMS PDU parsing failed: ", ex); - return null; - } - } - - /** * Creates an SmsMessage from an SMS EF record. * * @param index Index of SMS EF record. |