summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJonathan Dixon <joth@google.com>2011-12-21 14:21:36 +0000
committerJonathan Dixon <joth@google.com>2011-12-21 14:21:36 +0000
commit19644b613ef14434abe11e6cd16eb9e06057c9c6 (patch)
treea22b8ba231079e9d7dfbababe45a5c154413aeaa /api
parente4f0034226731724b67201d69fb4034ef857e2d3 (diff)
downloadframeworks_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.txt2
-rw-r--r--api/current.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/16.txt b/api/16.txt
index 13fba29..8e07844 100644
--- a/api/16.txt
+++ b/api/16.txt
@@ -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