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

Commit 2120cd66 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

force plugins to render on top of browser content.

parent 7628fbe0
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);