diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-01-18 08:30:39 +0900 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-01-18 08:30:39 +0900 |
commit | 50c6668a279f54430862240edf150a840eae7247 (patch) | |
tree | ed32ed9bac93517c0b353438c4b9f94eeaef2ea9 /core/java/android/pim | |
parent | 5fbf4094f5857ab15801c65a260a5c4b6866d655 (diff) | |
download | frameworks_base-50c6668a279f54430862240edf150a840eae7247.zip frameworks_base-50c6668a279f54430862240edf150a840eae7247.tar.gz frameworks_base-50c6668a279f54430862240edf150a840eae7247.tar.bz2 |
Make vCard importer support lower case params.
Bug: 2339066
Diffstat (limited to 'core/java/android/pim')
-rw-r--r-- | core/java/android/pim/vcard/VCardParser_V21.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/pim/vcard/VCardParser_V21.java b/core/java/android/pim/vcard/VCardParser_V21.java index c2928cb..fe8cfb0 100644 --- a/core/java/android/pim/vcard/VCardParser_V21.java +++ b/core/java/android/pim/vcard/VCardParser_V21.java @@ -522,7 +522,7 @@ public class VCardParser_V21 extends VCardParser { protected void handleParams(String params) throws VCardException { String[] strArray = params.split("=", 2); if (strArray.length == 2) { - String paramName = strArray[0].trim(); + final String paramName = strArray[0].trim().toUpperCase(); String paramValue = strArray[1].trim(); if (paramName.equals("TYPE")) { handleType(paramValue); |