mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
oppo: fix parseBattery missing battery logic
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ public class OppoHeadphonesProtocol extends GBDeviceProtocol {
|
|||||||
.map(event -> ((GBDeviceEventBatteryInfo) event).batteryIndex)
|
.map(event -> ((GBDeviceEventBatteryInfo) event).batteryIndex)
|
||||||
.toList();
|
.toList();
|
||||||
|
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
if (processedBatteries.contains(i)) {
|
if (processedBatteries.contains(i)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user