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

Merge commit '2705c8f09975f1bf10c84af323a67c104a177129' into eclair-mr2-plus-aosp

* commit '2705c8f09975f1bf10c84af323a67c104a177129':
  DO NOT MERGE. force plugins to render on top of browser content.
This commit is contained in:
Derek Sollenberger
2010-03-02 06:44:47 -08:00
committed by Android Git Automerger

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