diff options
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index c211e94d3463..10748acd4c51 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1837,8 +1837,12 @@ public class WebView extends AbsoluteLayout * * @param addr the string to search for addresses * @return the address, or if no address is found, {@code null} + * @deprecated this method is superseded by {@link TextClassifier#generateLinks( + * android.view.textclassifier.TextLinks.Request)}. Avoid using this method even when targeting + * API levels where no alternative is available. */ @Nullable + @Deprecated public static String findAddress(String addr) { if (addr == null) { throw new NullPointerException("addr is null"); |
