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

Commit 85e7b1b9 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

am: 6c48895e

Change-Id: I055095ce8c0666f5a2b9a7fae805247aa02430bf
parents 2b33b29a 6c48895e
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);