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: I467a74c250473e45fe76db8ad5ee064b6328e1e9
This commit is contained in:
Jay Aliomer
2021-07-29 19:14:54 +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 {