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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15403905

Change-Id: Iec401d364db6e58b4ca9808cfd7cab2f1af8d724
This commit is contained in:
Jay Aliomer
2021-07-28 15:40:40 +00:00
committed by Automerger Merge Worker

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 {