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

Commit 35efea7f authored by Meng Wang's avatar Meng Wang Committed by Android (Google) Code Review
Browse files

Merge "Show error code in WFC error messages." into oc-dr1-dev

parents c7e9b869 0564aa1e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1640,10 +1640,12 @@ public class ImsPhone extends ImsPhoneBase {
                    Rlog.e(LOG_TAG, "Invalid index: " + wfcOperatorErrorCodes[i]);
                    continue;
                }
                CharSequence messageAlert = imsReasonInfo.mExtraMessage;
                String messageAlert = imsReasonInfo.mExtraMessage;
                CharSequence messageNotification = imsReasonInfo.mExtraMessage;
                if (!wfcOperatorErrorAlertMessages[idx].isEmpty()) {
                    messageAlert = wfcOperatorErrorAlertMessages[idx];
                    messageAlert = String.format(
                        wfcOperatorErrorAlertMessages[idx],
                        imsReasonInfo.mExtraMessage); // Fill IMS error code into alert message
                }
                if (!wfcOperatorErrorNotificationMessages[idx].isEmpty()) {
                    messageNotification = wfcOperatorErrorNotificationMessages[idx];