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

Commit 1676c95d authored by Torne (Richard Coles)'s avatar Torne (Richard Coles)
Browse files

Clarify WebView's lack of plugin support.

Update docs to clarify that plugins are in fact not supported from K
onward and that enabling them doesn't do anything.

Test: m offline-sdk-docs
Change-Id: I8678ea716be0adc4cd3a6fae1b4776e312ec29e0
parent 443d78e6
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -987,7 +987,9 @@ public abstract class WebSettings {
     * {@link PluginState#OFF}.
     *
     * @param state a PluginState value
     * @deprecated Plugins will not be supported in future, and should not be used.
     * @deprecated Plugins are not supported in API level
     *             {@link android.os.Build.VERSION_CODES#KITKAT} or later;
     *             enabling plugins is a no-op.
     */
    @Deprecated
    public abstract void setPluginState(PluginState state);
@@ -1182,7 +1184,9 @@ public abstract class WebSettings {
     *
     * @return the plugin state as a {@link PluginState} value
     * @see #setPluginState
     * @deprecated Plugins will not be supported in future, and should not be used.
     * @deprecated Plugins are not supported in API level
     *             {@link android.os.Build.VERSION_CODES#KITKAT} or later;
     *             enabling plugins is a no-op.
     */
    @Deprecated
    public abstract PluginState getPluginState();