diff options
| author | 2015-02-13 17:08:27 -0800 | |
|---|---|---|
| committer | 2015-02-25 13:40:52 -0800 | |
| commit | 1ff7196be945f29c0ba75595d447e504dbafffc7 (patch) | |
| tree | 93f63fe85ab9eafd33484441c5fb1837ed7fb142 | |
| parent | ae0fdaf5e864ab755e54243006e7116fbb375a7b (diff) | |
Document the limitations of Linkify addresses
Explain that we are using WebView#findAddresses() which is
limited to US addresses at the moment (at least according
to its documentation), among various other limitations.
Bug: 5847264
Change-Id: If86c6d7c11cc080f0fe3401ffb7bce8068c6016f
| -rw-r--r-- | core/java/android/text/util/Linkify.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/text/util/Linkify.java b/core/java/android/text/util/Linkify.java index c1341e16f803..8e9eb48268b8 100644 --- a/core/java/android/text/util/Linkify.java +++ b/core/java/android/text/util/Linkify.java @@ -78,7 +78,10 @@ public class Linkify { /** * Bit field indicating that street addresses should be matched in methods that - * take an options mask + * take an options mask. Note that this uses the + * {@link android.webkit.WebView#findAddress(String) findAddress()} method in + * {@link android.webkit.WebView} for finding addresses, which has various + * limitations. */ public static final int MAP_ADDRESSES = 0x08; |