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

Commit 9dc2e75e authored by Jason Chen's avatar Jason Chen
Browse files

Add Deprecated annotation to getPluginsPath/setPluginsPath

Javadoc annotations aren't enough to properly mark an API
as deprecated. This change adds the @Deprecated annotation
to the source and updates current.xml.

Change-Id: I04a398fc04ad99979c674789af5af994fbd25be0
parent f83d4f17
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -213735,7 +213735,7 @@
 synchronized="true"
 static="false"
 final="false"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</method>
@@ -214307,7 +214307,7 @@
 synchronized="true"
 static="false"
 final="false"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="pluginsPath" type="java.lang.String">
@@ -237315,7 +237315,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="arg0" type="T">
<parameter name="t" type="T">
</parameter>
</method>
</interface>
+2 −0
Original line number Diff line number Diff line
@@ -1108,6 +1108,7 @@ public class WebSettings {
     * @deprecated This method is no longer used as plugins are loaded from
     * their own APK via the system's package manager.
     */
    @Deprecated
    public synchronized void setPluginsPath(String pluginsPath) {
    }

@@ -1296,6 +1297,7 @@ public class WebSettings {
     * @deprecated This method is no longer used as plugins are loaded from
     * their own APK via the system's package manager.
     */
    @Deprecated
    public synchronized String getPluginsPath() {
        return "";
    }