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

Commit 1fad11a9 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Fix bug when restoring operator info

When doing manual network search, framework stores the opertor info
including Long-operator name, Short-operator name, operator numeric (MCCMNC).
However, it saves these 3 parameters in a wrong sequence, thus lead to mess
of logic, it will cause manual network search failure occasionally.

Change-Id: Ia0c2e1f51ebffef5be7c0343937f79c93045b8a6
parent ee275ae7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1251,7 +1251,7 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
        String numeric = sp.getString(NETWORK_SELECTION_KEY + getSubId(), "");
        String name = sp.getString(NETWORK_SELECTION_NAME_KEY + getSubId(), "");
        String shrt = sp.getString(NETWORK_SELECTION_SHORT_KEY + getSubId(), "");
        return new OperatorInfo(numeric, name, shrt);
        return new OperatorInfo(name, shrt, numeric);
    }

    /**