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

Commit 589175e1 authored by Haijie Hong's avatar Haijie Hong
Browse files

Don't show battery level for short summary

BUG: 289553709
BUG: 301414439
Test: atest CachedBluetoothDeviceTest
Change-Id: I39fdd6bcf95d2912232101b482b7d4d5ce75b8ec
parent 78d43e11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1310,7 +1310,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
            // Set default string with battery level in device connected situation.
            if (isTwsBatteryAvailable(leftBattery, rightBattery)) {
                stringRes = R.string.bluetooth_battery_level_untethered;
            } else if (batteryLevelPercentageString != null) {
            } else if (batteryLevelPercentageString != null && !shortSummary) {
                stringRes = R.string.bluetooth_battery_level;
            }