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

Commit d89f2dd4 authored by kun.tang's avatar kun.tang
Browse files

The method of parseEfSpdi does not match TS24008.

Accordding to TS51101 and TS31102, Each PLMN is coded as follows:
Mobile Country Code (MCC) followed by the Mobile Network Code (MNC) according to 3GPP TS 24.008
Test: Boot phone and check log, wether parseEfSpdi works fine.

Change-Id: I383a74b8a39baf7091f1388ea7abc96c74d0b2a3
parent 7e002656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2029,7 +2029,7 @@ public class SIMRecords extends IccRecords {

        for (int i = 0 ; i + 2 < plmnEntries.length ; i += 3) {
            String plmnCode;
            plmnCode = IccUtils.bcdToString(plmnEntries, i, 3);
            plmnCode = IccUtils.bcdPlmnToString(plmnEntries, i);

            // Valid operator codes are 5 or 6 digits
            if (plmnCode.length() >= 5) {