Merge "WallpaperService crashes becuase of a log statement" into sc-dev

This commit is contained in:
Jay Aliomer
2021-07-28 15:17:46 +00:00
committed by Android (Google) Code Review

View File

@@ -776,8 +776,10 @@ public abstract class WallpaperService extends Service {
WallpaperColors color = colors.get(i);
RectF area = regions.get(i);
if (color == null || area == null) {
Log.wtf(TAG, "notifyLocalColorsChanged null values. color: "
+ color + " area " + area);
if (DEBUG) {
Log.e(TAG, "notifyLocalColorsChanged null values. color: "
+ color + " area " + area);
}
continue;
}
try {