WallpaperService crashes becuase of a log statement

Log.wtf should have been Log.e and it is only an informative log

Fixes: 192327606
Test: WallpaperServiceTest
Change-Id: I2e13cf6f7f7abffbb8d3f28aeaa0605711085157
This commit is contained in:
Jay Aliomer
2021-07-27 16:59:55 -04:00
parent ab3f902ccf
commit 959dd9c06a

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 {