summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Wang <johnwang@google.com> 2011-06-15 16:51:41 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-06-15 16:51:41 -0700
commit59c17fbb98d32098aba0224be0234a649bef2d06 (patch)
tree79d6f97d88963dcb0de8ad02af7f8b91714c58cb
parentd727cf7e3f35e8217a20fba807d3d9702937f6f4 (diff)
parentf4a9e1a8a4e1bbefd5dbd16562e192a1f8ef23e1 (diff)
Merge "Don't clean up operator properties in RuimRecords."
-rwxr-xr-xtelephony/java/com/android/internal/telephony/cdma/RuimRecords.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/RuimRecords.java b/telephony/java/com/android/internal/telephony/cdma/RuimRecords.java
index ee63edeb38de..9af2d26efc79 100755
--- a/telephony/java/com/android/internal/telephony/cdma/RuimRecords.java
+++ b/telephony/java/com/android/internal/telephony/cdma/RuimRecords.java
@@ -119,8 +119,11 @@ public final class RuimRecords extends IccRecords {
adnCache.reset();
- phone.setSystemProperty(PROPERTY_ICC_OPERATOR_NUMERIC, null);
- phone.setSystemProperty(PROPERTY_ICC_OPERATOR_ISO_COUNTRY, null);
+ // 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.
// recordsRequested is set to false indicating that the SIM
// read requests made so far are not valid. This is set to