Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdbdeb31 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

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
parent 17510863
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -203553,7 +203553,7 @@
 synchronized="true"
 static="false"
 final="false"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</method>
@@ -204101,7 +204101,7 @@
 synchronized="true"
 static="false"
 final="false"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="pluginsPath" type="java.lang.String">
+10 −2
Original line number Diff line number Diff line
@@ -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 "";