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

Commit 6078399d authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

DO NOT MERGE. force plugins to render on top of browser content.

parent ecde72fe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2346,6 +2346,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);