commit | a1045b0285e275d583d94ff70863cefae3e2333a | [log] [tgz] |
---|---|---|
author | Hui Wang <huiwang@motorola.com> | Wed Oct 01 16:18:50 2014 -0500 |
committer | Amit Mahajan <amitmahajan@google.com> | Mon Oct 06 10:42:30 2014 -0700 |
tree | e7dd2197791ca4d134dc9f7ca628c3239e6ae4fc | |
parent | ccba6ba3d8f431a05bf2e1d0a108db25c4b373af [diff] |
fix issues to set data profiles Bug: 17781567 Change-Id: Ic0cb0e74e5937fc45a1e37fe6456ee01b3d07fad
diff --git a/src/com/android/providers/telephony/TelephonyProvider.java b/src/com/android/providers/telephony/TelephonyProvider.java index 4bf612d..ead4887 100644 --- a/src/com/android/providers/telephony/TelephonyProvider.java +++ b/src/com/android/providers/telephony/TelephonyProvider.java
@@ -468,7 +468,7 @@ } String modemCognitive = parser.getAttributeValue(null, "modem_cognitive"); - if (carrierEnabled != null) { + if (modemCognitive != null) { map.put(Telephony.Carriers.MODEM_COGNITIVE, Boolean.parseBoolean(modemCognitive)); }