diff options
| author | Derek Sollenberger <djsollen@google.com> | 2010-08-12 11:20:13 -0400 |
|---|---|---|
| committer | Derek Sollenberger <djsollen@google.com> | 2010-09-01 14:15:50 -0400 |
| commit | fdbdeb3137a6b47527d1d714afbb7e1b19b474ec (patch) | |
| tree | fd6d4abde1b3712c419bd1ea8193e51bc318153d /core | |
| parent | 1751086360056bc60d00f2ed2988bc82be9e7bd9 (diff) | |
| download | frameworks_base-fdbdeb3137a6b47527d1d714afbb7e1b19b474ec.zip frameworks_base-fdbdeb3137a6b47527d1d714afbb7e1b19b474ec.tar.gz frameworks_base-fdbdeb3137a6b47527d1d714afbb7e1b19b474ec.tar.bz2 | |
Fix invalid comment in WebSettings.
The get/set for the pluginPath is leftover from the Gear's plugin
and is no longer useful now that plugins are loaded from their
own APK using the package manager. These methods were modified to
be no-ops in froyo, but the documentation was never completed.
Change-Id: I20f6593445d877a3dae9b9f51d5198a3509255d6
http://b/2811032
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/webkit/WebSettings.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index 1b801d4..4e57a8a 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -1048,7 +1048,11 @@ public class WebSettings { } /** - * TODO: need to add @Deprecated + * Set a custom path to plugins used by the WebView. This method is + * obsolete since each plugin is now loaded from its own package. + * @param pluginsPath String path to the directory containing plugins. + * @deprecated This method is no longer used as plugins are loaded from + * their own APK via the system's package manager. */ public synchronized void setPluginsPath(String pluginsPath) { } @@ -1219,7 +1223,11 @@ public class WebSettings { } /** - * TODO: need to add @Deprecated + * Returns the directory that contains the plugin libraries. This method is + * obsolete since each plugin is now loaded from its own package. + * @return An empty string. + * @deprecated This method is no longer used as plugins are loaded from + * their own APK via the system's package manager. */ public synchronized String getPluginsPath() { return ""; |
