Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e00347e authored by Sridhar Dubbaka's avatar Sridhar Dubbaka Committed by Steve Kondik
Browse files

Validity Period support for MO SMS in 3gpp

Add Telephony framework support for Validity Period in 3gpp
for MO SMS

Change-Id: Iee7358ca1971441f0567e428b587562294fe29bb
CRs-Fixed: 627981
parent 72a02774
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -175,10 +175,11 @@ interface ISms {
     *  broadcast when the message is delivered to the recipient.  The
     *  raw pdu of the status report is in the extended data ("pdu").
     * @param priority Priority level of the message
     * @param validityPeriod Validity Period of the message in Minutes.
     */
    void sendTextWithOptions(String callingPkg, in String destAddr, in String scAddr,
            in String text, in PendingIntent sentIntent, in PendingIntent deliveryIntent,
            in int priority, in boolean isExpectMore);
            in int priority, in boolean isExpectMore, in int validityPeriod);

    /**
     * Send a multi-part text based SMS.
@@ -228,10 +229,12 @@ interface ISms {
     *   to the recipient.  The raw pdu of the status report is in the
     *   extended data ("pdu").
     * @param priority Priority level of the message
     * @param validityPeriod Validity Period of the message in Minutes.
     */
    void sendMultipartTextWithOptions(String callingPkg, in String destinationAddress,
            in String scAddress, in List<String> parts, in List<PendingIntent> sentIntents,
            in List<PendingIntent> deliveryIntents, in int priority, in boolean isExpectMore);
            in List<PendingIntent> deliveryIntents, in int priority, in boolean isExpectMore,
            in int validityPeriod);

    /**
     * Enable reception of cell broadcast (SMS-CB) messages with the given