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

Commit 73803838 authored by Christa Cao's avatar Christa Cao Committed by Android (Google) Code Review
Browse files

Merge "Fixed the formatting issue of SmsController on x-message-id."

parents 9b02e7c7 db1b3221
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -240,14 +240,14 @@ public class SmsController extends ISmsImplBase {
            String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent,
            boolean persistMessageForNonDefaultSmsApp, long messageId) {
        Rlog.d(LOG_TAG, "sendTextForSubscriber iccSmsIntMgr"
                + " Subscription: " + subId + " id: " + messageId);
                + " Subscription: " + subId + " " + formatCrossStackMessageId(messageId));
        IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId);
        if (iccSmsIntMgr != null) {
            iccSmsIntMgr.sendText(callingPackage, destAddr, scAddr, text, sentIntent,
                    deliveryIntent, persistMessageForNonDefaultSmsApp, messageId);
        } else {
            Rlog.e(LOG_TAG, "sendTextForSubscriber iccSmsIntMgr is null for"
                    + " Subscription: " + subId + " id: " + messageId);
                    + " Subscription: " + subId + " " + formatCrossStackMessageId(messageId));
            sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE);
        }
    }
@@ -318,7 +318,7 @@ public class SmsController extends ISmsImplBase {
                    messageId);
        } else {
            Rlog.e(LOG_TAG, "sendMultipartTextForSubscriber iccSmsIntMgr is null for"
                    + " Subscription: " + subId + " id: " + messageId);
                    + " Subscription: " + subId + " " + formatCrossStackMessageId(messageId));
            sendErrorInPendingIntents(sentIntents, SmsManager.RESULT_ERROR_GENERIC_FAILURE);
        }
    }