Merge "frameworks/base: Fix to release references to previous live wallpaper"
This commit is contained in:
@@ -587,6 +587,8 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
|
||||
mIWindowManager.removeWindowToken(mWallpaperConnection.mToken);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
mWallpaperConnection.mService = null;
|
||||
mWallpaperConnection.mEngine = null;
|
||||
mWallpaperConnection = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user