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