Merge "fix [3008290] passion GB surface does not send surfaceChanged notification after size change." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
7e6064ad7c
@@ -288,9 +288,10 @@ public class SurfaceView extends View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
|
protected boolean setFrame(int left, int top, int right, int bottom) {
|
||||||
super.onSizeChanged(w, h, oldw, oldh);
|
boolean result = super.setFrame(left, top, right, bottom);
|
||||||
updateWindow(false, false);
|
updateWindow(false, false);
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user