Fixes NPE in WallpaperData constructor
Bug: 253507223 Test: TreeHugger Change-Id: Ibfa441ac83b20bd0efcc53acd19c81750cb65430
This commit is contained in:
@@ -166,7 +166,9 @@ class WallpaperData {
|
||||
this.primaryColors = source.primaryColors;
|
||||
this.mWallpaperDimAmount = source.mWallpaperDimAmount;
|
||||
this.connection = source.connection;
|
||||
this.connection.mWallpaper = this;
|
||||
if (this.connection != null) {
|
||||
this.connection.mWallpaper = this;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user