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

Commit 6103b5df authored by Jing Zhao's avatar Jing Zhao Committed by Amit Mahajan
Browse files

AT&T short dialing code

User should be able to dial 0 or 00 in AT&T network.
The code should not be taken as MMI Code.

Bug: 17314389
Change-Id: I2f4187ddcbad6d78ee8d8c1881648b96a9da76dd
parent 121eaf87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -495,7 +495,7 @@ public final class GsmMmiCode extends Handler implements MmiCode {
    isTwoDigitShortCode(Context context, String dialString) {
        Rlog.d(LOG_TAG, "isTwoDigitShortCode");

        if (dialString == null || dialString.length() != 2) return false;
        if (dialString == null || dialString.length() > 2) return false;

        if (sTwoDigitNumberPattern == null) {
            sTwoDigitNumberPattern = context.getResources().getStringArray(
+1 −1
Original line number Diff line number Diff line
@@ -519,7 +519,7 @@ public final class ImsPhoneMmiCode extends Handler implements MmiCode {
    isTwoDigitShortCode(Context context, String dialString) {
        Rlog.d(LOG_TAG, "isTwoDigitShortCode");

        if (dialString == null || dialString.length() != 2) return false;
        if (dialString == null || dialString.length() > 2) return false;

        if (sTwoDigitNumberPattern == null) {
            sTwoDigitNumberPattern = context.getResources().getStringArray(