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

Commit f4a9e1a8 authored by John Wang's avatar John Wang
Browse files

Don't clean up operator properties in RuimRecords.

Don't clean up PROPERTY_ICC_OPERATOR_ISO_COUNTRY and
PROPERTY_ICC_OPERATOR_NUMERIC here. Since not all CDMA
devices have RUIM, these properties should keep the original
values, e.g. build time settings, when there is no RUIM but
set new values when RUIM is available and loaded.

bug:4552029
Change-Id: I37c2cea32b582a00873b7f85b70abe30253e1241
parent f4b56eaa
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -119,8 +119,11 @@ public final class RuimRecords extends IccRecords {


        adnCache.reset();
        adnCache.reset();


        phone.setSystemProperty(PROPERTY_ICC_OPERATOR_NUMERIC, null);
        // Don't clean up PROPERTY_ICC_OPERATOR_ISO_COUNTRY and
        phone.setSystemProperty(PROPERTY_ICC_OPERATOR_ISO_COUNTRY, null);
        // PROPERTY_ICC_OPERATOR_NUMERIC here. Since not all CDMA
        // devices have RUIM, these properties should keep the original
        // values, e.g. build time settings, when there is no RUIM but
        // set new values when RUIM is available and loaded.


        // recordsRequested is set to false indicating that the SIM
        // recordsRequested is set to false indicating that the SIM
        // read requests made so far are not valid. This is set to
        // read requests made so far are not valid. This is set to