OSDN Git Service

Add support for sending message with priority, link control and validity period options
authorMengjun Leng <mengju@codeaurora.org>
Mon, 13 Mar 2017 09:08:26 +0000 (17:08 +0800)
committerJayachandran Chinnakkannu <jayachandranc@google.com>
Sat, 24 Feb 2018 01:14:03 +0000 (01:14 +0000)
commitb379ce981baf7f9d48b91fbeef0502bfa70c5add
tree66d9d715f101b5a3e0fc34a4fabb73f463fc77bc
parenta4bde27012e49baf1c2623283ae0d2cec7a943cf
Add support for sending message with priority, link control and validity period options

1. Added support for message priority(indicates the priority of a
   SMS to the network in the PDU) in 3gpp2
2. Added support for link control(indicates whether network can
   expect more messages or not so it can decide whether to retain
   the radio link or not) while sending multiple messages
3. Added support for validity period(indicates how much time the
   SMS is valid at the SMSC) support in 3gpp
4. Amended UT test cases for API changes and add UT validity period
   test case

Test: Verfied sending short SMS, long SMS, MMS, SMS with emoji on
      live network

Bug: 34962629
telephony/java/android/telephony/SmsManager.java
telephony/java/android/telephony/SmsMessage.java
telephony/java/com/android/internal/telephony/ISms.aidl
telephony/java/com/android/internal/telephony/cdma/SmsMessage.java
telephony/java/com/android/internal/telephony/gsm/SmsMessage.java