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

Commit 9f585556 authored by David Su's avatar David Su
Browse files

Fix array lengths swapped in WifiBatteryStats

Bug: 144711785
Test: visual inspection
Change-Id: I913d274715147e575dfa13bd96247ff472b1092d
parent 58bea80f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -48,9 +48,9 @@ public final class WifiBatteryStats implements Parcelable {
    private long[] mTimeInStateMillis =
        new long[BatteryStats.NUM_WIFI_STATES];
    private long[] mTimeInSupplicantStateMillis =
        new long[BatteryStats.NUM_WIFI_SIGNAL_STRENGTH_BINS];
    private long[] mTimeInRxSignalStrengthLevelMillis =
        new long[BatteryStats.NUM_WIFI_SUPPL_STATES];
    private long[] mTimeInRxSignalStrengthLevelMillis =
        new long[BatteryStats.NUM_WIFI_SIGNAL_STRENGTH_BINS];
    private long mMonitoredRailChargeConsumedMaMillis = 0;

    public static final @NonNull Parcelable.Creator<WifiBatteryStats> CREATOR =