Merge "Fix crash in movie studio." into honeycomb
This commit is contained in:
@@ -169,7 +169,7 @@ public class SurfaceView extends View {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onPreDraw() {
|
public boolean onPreDraw() {
|
||||||
// reposition ourselves where the surface is
|
// reposition ourselves where the surface is
|
||||||
mHaveFrame = true;
|
mHaveFrame = getWidth() > 0 && getHeight() > 0;
|
||||||
updateWindow(false, false);
|
updateWindow(false, false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user