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

Commit 1bb182dd authored by Pavel Zhamaitsiak's avatar Pavel Zhamaitsiak
Browse files

Fix ImsPhone.processDisconnectReason() function

Escape "|" (pipe) symbol.

Bug: 29581592
Change-Id: Ic25f0b7455c7197396001519995d73fbaaf1140f
parent b3a50e2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1484,7 +1484,7 @@ public class ImsPhone extends ImsPhoneBase {
                            com.android.internal.R.array.wfcOperatorErrorNotificationMessages);

            for (int i = 0; i < wfcOperatorErrorCodes.length; i++) {
                String[] codes = wfcOperatorErrorCodes[i].split("|");
                String[] codes = wfcOperatorErrorCodes[i].split("\\|");
                if (codes.length != 2) {
                    Rlog.e(LOG_TAG, "Invalid carrier config: " + wfcOperatorErrorCodes[i]);
                    continue;