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

Commit 7d273f7d authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

hal: Fix an issue on finding a wrong operator in case of no sim

am: 7fea2049

Change-Id: Ifcbf3ddeef5be5fd3f43dae2a9fc0493919af3f6
parents 979b99fa 7fea2049
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@ static char *get_current_operator()
    char mccmnc[PROPERTY_VALUE_MAX];
    char *ret = NULL;

    property_get("gsm.sim.operator.numeric",mccmnc,"0");
    property_get("gsm.sim.operator.numeric",mccmnc,"00000");

    list_for_each(node, &operator_info_list) {
        info_item = node_to_item(node, struct operator_info, list);
+1 −1
Original line number Diff line number Diff line
@@ -562,7 +562,7 @@ static char *get_current_operator()
    char mccmnc[PROPERTY_VALUE_MAX];
    char *ret = NULL;

    property_get("gsm.sim.operator.numeric",mccmnc,"0");
    property_get("gsm.sim.operator.numeric",mccmnc,"00000");

    list_for_each(node, &operator_info_list) {
        info_item = node_to_item(node, struct operator_info, list);