Merge commit '8dd6f6da30f7abb92fa0979f4dd56bbb187b40f8' into eclair-mr2-plus-aosp * commit '8dd6f6da30f7abb92fa0979f4dd56bbb187b40f8': Fix bug 2249797 - Launcher2 leaking textures on locale change
This commit is contained in:
@@ -179,6 +179,8 @@ public class AllAppsView extends RSSurfaceView
|
|||||||
public void surfaceDestroyed(SurfaceHolder holder) {
|
public void surfaceDestroyed(SurfaceHolder holder) {
|
||||||
super.surfaceDestroyed(holder);
|
super.surfaceDestroyed(holder);
|
||||||
mRollo.mHasSurface = false;
|
mRollo.mHasSurface = false;
|
||||||
|
// Without this, we leak mMessageCallback which leaks the context.
|
||||||
|
mRS.mMessageCallback = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user