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

Commit 5eff658f authored by Chaitanya Saggurthi's avatar Chaitanya Saggurthi
Browse files

Add AppOps check for sendTextWithPriority

 Add application operation check for sendTextWithPriority API.

Change-Id: I802142f28a5ee11d59a35e9265ec968005777bae
CRs-Fixed: 571674
parent 087238d4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ interface ISms {
            in PendingIntent sentIntent, in PendingIntent deliveryIntent);

    /**
     * Send an SMS.
     * Send an SMS with priority.
     *
     * @param destAddr the address to send the message to
     * @param smsc the SMSC to send the message through, or NULL for the
@@ -145,8 +145,8 @@ interface ISms {
     *  raw pdu of the status report is in the extended data ("pdu").
     * @param priority Priority level of the message
     */
    void sendTextWithPriority(in String destAddr, in String scAddr, in String text,
            in PendingIntent sentIntent, in PendingIntent deliveryIntent,
    void sendTextWithPriority(String callingPkg, in String destAddr, in String scAddr,
            in String text, in PendingIntent sentIntent, in PendingIntent deliveryIntent,
            in int priority);

    /**