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

Commit db1b3221 authored by “Christa's avatar “Christa Committed by Christa Cao
Browse files

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

Bug: 232087545
Test: fixing formatting issue.

Change-Id: I9c6cb6a33251c238d421c9ae54a00e2fb0668941
parent ddba96b5
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);
        }
    }