diff options
author | Elliott Hughes <enh@google.com> | 2013-08-02 10:00:44 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-08-02 15:12:32 -0700 |
commit | cb64d430627b71221c588ef5f23599dd34a89ee9 (patch) | |
tree | b224300586291ed638185af36a4a25fb6b27efa8 /core/java/android/text/util | |
parent | c67b2ed50226c4758d0fc1434d39f6add6a0a533 (diff) | |
download | frameworks_base-cb64d430627b71221c588ef5f23599dd34a89ee9.zip frameworks_base-cb64d430627b71221c588ef5f23599dd34a89ee9.tar.gz frameworks_base-cb64d430627b71221c588ef5f23599dd34a89ee9.tar.bz2 |
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
Diffstat (limited to 'core/java/android/text/util')
-rw-r--r-- | core/java/android/text/util/Linkify.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/text/util/Linkify.java b/core/java/android/text/util/Linkify.java index 2bc1c6a..deb138d 100644 --- a/core/java/android/text/util/Linkify.java +++ b/core/java/android/text/util/Linkify.java @@ -365,7 +365,7 @@ public class Linkify { String scheme, MatchFilter matchFilter, TransformFilter transformFilter) { boolean hasMatches = false; - String prefix = (scheme == null) ? "" : scheme.toLowerCase(); + String prefix = (scheme == null) ? "" : scheme.toLowerCase(Locale.ROOT); Matcher m = p.matcher(s); while (m.find()) { |