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

Commit 448c18e5 authored by Cole Faust's avatar Cole Faust
Browse files

Fix ImpossibleNullComparison errorprone warning

Protobuf fields cannot be null.

Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: Ied830dbf9ddde4c43281feb38a01f01d0750fea7
parent 380a136e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public final class BatteryUsageLogUtils {
                        .append(ConvertUtils.utcToLocalTimeForLogging(entry.getTimestamp()))
                        .append(" " + entry.getAction());
        final String description = entry.getActionDescription();
        if (description != null && !description.isEmpty()) {
        if (!description.isEmpty()) {
            builder.append(" " + description);
        }
        return builder.toString();