Merge "DO NOT MERGE. force plugins to render on top of browser content." into eclair-mr2
This commit is contained in:
committed by
Android (Google) Code Review
commit
2705c8f099
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user