diff options
author | Jonathan Dixon <joth@google.com> | 2011-12-21 14:21:36 +0000 |
---|---|---|
committer | Jonathan Dixon <joth@google.com> | 2011-12-21 14:21:36 +0000 |
commit | 19644b613ef14434abe11e6cd16eb9e06057c9c6 (patch) | |
tree | a22b8ba231079e9d7dfbababe45a5c154413aeaa /api | |
parent | e4f0034226731724b67201d69fb4034ef857e2d3 (diff) | |
download | frameworks_base-19644b613ef14434abe11e6cd16eb9e06057c9c6.zip frameworks_base-19644b613ef14434abe11e6cd16eb9e06057c9c6.tar.gz frameworks_base-19644b613ef14434abe11e6cd16eb9e06057c9c6.tar.bz2 |
Make WebView.HitTestResult static
- we can do this, because HitTestResult never had a published constructor
so the only code that can create it has always lived in this package.
- doing this makes the class design cleaner, and smooths the way for allowing
the new WebView implementation to deal in these results in contexts where
the appropriate WebView instance is not readily available.
Change-Id: I9e1f1c0faeb16436b1861aab3c2871a5851dfb54
Diffstat (limited to 'api')
-rw-r--r-- | api/16.txt | 2 | ||||
-rw-r--r-- | api/current.txt | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -25259,7 +25259,7 @@ package android.webkit { field public static final java.lang.String SCHEME_TEL = "tel:"; } - public class WebView.HitTestResult { + public static class WebView.HitTestResult { method public java.lang.String getExtra(); method public int getType(); field public static final deprecated int ANCHOR_TYPE = 1; // 0x1 diff --git a/api/current.txt b/api/current.txt index db3b30d..1f6ba1b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25433,7 +25433,7 @@ package android.webkit { field public static final java.lang.String SCHEME_TEL = "tel:"; } - public class WebView.HitTestResult { + public static class WebView.HitTestResult { method public java.lang.String getExtra(); method public int getType(); field public static final deprecated int ANCHOR_TYPE = 1; // 0x1 |