Fix bug 2249797 - Launcher2 leaking textures on locale change

This commit is contained in:
Joe Onorato
2009-11-11 16:05:23 -08:00
parent 52a653f3ff
commit fab744014a

View File

@@ -179,6 +179,8 @@ public class AllAppsView extends RSSurfaceView
public void surfaceDestroyed(SurfaceHolder holder) {
super.surfaceDestroyed(holder);
mRollo.mHasSurface = false;
// Without this, we leak mMessageCallback which leaks the context.
mRS.mMessageCallback = null;
}
@Override