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

Commit c4887faa authored by David Brown's avatar David Brown Committed by Android (Google) Code Review
Browse files

Merge "Fix permissions check in IccSmsInterfaceManager.sendText()"

parents 18cc57fb e510fa4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ public abstract class IccSmsInterfaceManager extends ISms.Stub {
     */
    public void sendText(String destAddr, String scAddr,
            String text, PendingIntent sentIntent, PendingIntent deliveryIntent) {
        mPhone.getContext().enforceCallingPermission(
        mPhone.getContext().enforceCallingOrSelfPermission(
                "android.permission.SEND_SMS",
                "Sending SMS message");
        if (Log.isLoggable("SMS", Log.VERBOSE)) {