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

Commit ee2b0302 authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Correct the value of access technology."

parents 103e42f1 6c7560e7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -64,7 +64,8 @@ public class PlmnActRecord implements Parcelable {
    public PlmnActRecord(byte[] bytes, int offset) {
        if (VDBG) Rlog.v(LOG_TAG, "Creating PlmnActRecord " + offset);
        this.plmn = IccUtils.bcdPlmnToString(bytes, offset);
        this.accessTechs = ((int) bytes[offset + 3] << 8) | bytes[offset + 4];
        this.accessTechs = (Byte.toUnsignedInt(bytes[offset + 3]) << 8)
                        | Byte.toUnsignedInt(bytes[offset + 4]);
    }

    private PlmnActRecord(String plmn, int accessTechs) {