diff options
author | Jan Nordqvist <jannq@google.com> | 2015-04-17 14:27:46 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2015-04-21 21:13:39 +0000 |
commit | 218394c7dbfc9fb185e9fe405e7bf3a37f42f86e (patch) | |
tree | 30f1a1d628f238865348e3c768c270fc7f5dd35a /service/java/com/android/server/wifi/hotspot2/omadm | |
parent | 481a4178397e894b161eecb07b66c28e04e85bb9 (diff) | |
download | android_frameworks_opt_net_wifi-218394c7dbfc9fb185e9fe405e7bf3a37f42f86e.tar.gz android_frameworks_opt_net_wifi-218394c7dbfc9fb185e9fe405e7bf3a37f42f86e.tar.bz2 android_frameworks_opt_net_wifi-218394c7dbfc9fb185e9fe405e7bf3a37f42f86e.zip |
Changed [gs]etDomSubjectMatch to [gs]etDomainSubjectMatch and added case insensitive matching.
Change-Id: Ic30c8a4a6265b97fe368334c5304275d464fbb79
Diffstat (limited to 'service/java/com/android/server/wifi/hotspot2/omadm')
-rw-r--r-- | service/java/com/android/server/wifi/hotspot2/omadm/OMAConstructed.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/service/java/com/android/server/wifi/hotspot2/omadm/OMAConstructed.java b/service/java/com/android/server/wifi/hotspot2/omadm/OMAConstructed.java index 34db91d6b..c0fee8ff6 100644 --- a/service/java/com/android/server/wifi/hotspot2/omadm/OMAConstructed.java +++ b/service/java/com/android/server/wifi/hotspot2/omadm/OMAConstructed.java @@ -23,7 +23,7 @@ public class OMAConstructed extends OMANode { OMANode child = value != null ? new OMAScalar(this, name, context, value) : new OMAConstructed(this, name, context); - mChildren.put(name, child); + mChildren.put(name.toLowerCase(), child); return child; } else { OMANode target = this; @@ -46,7 +46,7 @@ public class OMAConstructed extends OMANode { throw new OMAException("Path too short for " + getPathString()); } String tag = path.next(); - OMANode child = mChildren.get(tag); + OMANode child = mChildren.get(tag.toLowerCase()); if (child != null) { return child.getScalarValue(path); } else { @@ -60,7 +60,7 @@ public class OMAConstructed extends OMANode { return this; } String tag = path.next(); - OMANode child = mChildren.get(tag); + OMANode child = mChildren.get(tag.toLowerCase()); if (child != null) { return child.getListValue(path); } else { @@ -79,7 +79,7 @@ public class OMAConstructed extends OMANode { } public OMANode getChild(String name) { - return mChildren.get(name); + return mChildren.get(name.toLowerCase()); } @Override |