commit | cb64d430627b71221c588ef5f23599dd34a89ee9 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Aug 02 10:00:44 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Aug 02 15:12:32 2013 -0700 |
tree | b224300586291ed638185af36a4a25fb6b27efa8 | |
parent | c67b2ed50226c4758d0fc1434d39f6add6a0a533 [diff] [blame] |
If frameworks wants ASCII casing, it should explicity ask for it. http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: Iaab02e718a7be7bda22e626dca05d79bfd2a8fc4
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index fc95728..330b7e5 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java
@@ -6979,7 +6979,7 @@ return null; } - type = type.trim().toLowerCase(Locale.US); + type = type.trim().toLowerCase(Locale.ROOT); final int semicolonIndex = type.indexOf(';'); if (semicolonIndex != -1) {