Merge "frameworks/base: Fix to release references to previous live wallpaper"

This commit is contained in:
Dianne Hackborn
2010-12-23 14:17:54 -08:00
committed by Android Code Review

View File

@@ -587,6 +587,8 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
mIWindowManager.removeWindowToken(mWallpaperConnection.mToken);
} catch (RemoteException e) {
}
mWallpaperConnection.mService = null;
mWallpaperConnection.mEngine = null;
mWallpaperConnection = null;
}
}