Merge "Fixes NPE in WallpaperData constructor"
This commit is contained in:
committed by
Android (Google) Code Review
commit
939b812edd
@@ -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