Merge "fix [3008290] passion GB surface does not send surfaceChanged notification after size change." into gingerbread

This commit is contained in:
Mathias Agopian
2010-10-04 19:50:16 -07:00
committed by Android (Google) Code Review

View File

@@ -288,9 +288,10 @@ public class SurfaceView extends View {
}
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
protected boolean setFrame(int left, int top, int right, int bottom) {
boolean result = super.setFrame(left, top, right, bottom);
updateWindow(false, false);
return result;
}
@Override