mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
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) {
|
||||
super.surfaceDestroyed(holder);
|
||||
mRollo.mHasSurface = false;
|
||||
// Without this, we leak mMessageCallback which leaks the context.
|
||||
mRS.mMessageCallback = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user