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

Commit b1e5f17d authored by Chaohui Wang's avatar Chaohui Wang
Browse files

Use spannableBuilder.length() > 0

Bug: 303768224
Test: presubmit
Change-Id: I4c2a24432210f93271daaf2408e25b7b2aafb554
parent ca4b9054
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1404,7 +1404,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
                        lowBatteryColorRes);
            }
            if (rightBattery >= 0) {
                if (!spannableBuilder.isEmpty()) {
                if (spannableBuilder.length() > 0) {
                    spannableBuilder.append(" ");
                }
                String right = res.getString(