Merge "DO NOT MERGE. force plugins to render on top of browser content." into eclair-mr2

This commit is contained in:
Derek Sollenberger
2010-03-02 06:33:32 -08:00
committed by Android (Google) Code Review

View File

@@ -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);