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

Commit 247c7275 authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

Merge "force plugins to render on top of browser content."

parents 02e27432 2120cd66
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2446,6 +2446,9 @@ final class WebViewCore {
        // ensures the view system knows the view can redraw itself
        pluginView.setWillNotDraw(false);

        if(pluginView instanceof SurfaceView)
            ((SurfaceView)pluginView).setZOrderOnTop(true);

        ViewManager.ChildView view = mWebView.mViewManager.createView();
        view.mView = pluginView;
        view.attachView(x, y, width, height);