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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user