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

Commit 9ab84c20 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "Fix wrong count return for getPhoneSignalStrengthCount"

parents 6fb8fe9a fb900813
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2302,8 +2302,8 @@ public final class BatteryStatsImpl extends BatteryStats {
                batteryRealtime, which);
    }

    @Override public int getPhoneSignalStrengthCount(int dataType, int which) {
        return mPhoneDataConnectionsTimer[dataType].getCountLocked(which);
    @Override public int getPhoneSignalStrengthCount(int strengthBin, int which) {
        return mPhoneSignalStrengthsTimer[strengthBin].getCountLocked(which);
    }

    @Override public long getPhoneDataConnectionTime(int dataType,