Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 959dd9c0 authored by Jay Aliomer's avatar Jay Aliomer
Browse files

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
parent ab3f902c
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -776,8 +776,10 @@ public abstract class WallpaperService extends Service {
                WallpaperColors color = colors.get(i);
                WallpaperColors color = colors.get(i);
                RectF area = regions.get(i);
                RectF area = regions.get(i);
                if (color == null || area == null) {
                if (color == null || area == null) {
                    Log.wtf(TAG, "notifyLocalColorsChanged null values. color: "
                    if (DEBUG) {
                        Log.e(TAG, "notifyLocalColorsChanged null values. color: "
                                + color + " area " + area);
                                + color + " area " + area);
                    }
                    continue;
                    continue;
                }
                }
                try {
                try {