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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user