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

Commit 801aa9f3 authored by Wink Saville's avatar Wink Saville Committed by android code review
Browse files

Merge "Fix PhoneApp crash while decoding operatorNumeric to find mcc"

parents ec1ecc09 7c491bb3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -864,8 +864,9 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
                mNitzUpdatedTime = false;
            } else {
                String iso = "";
                String mcc = operatorNumeric.substring(0, 3);
                String mcc = "";
                try{
                    mcc = operatorNumeric.substring(0, 3);
                    iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc));
                } catch ( NumberFormatException ex){
                    loge("pollStateDone: countryCodeForMcc error" + ex);