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

Commit 3bca3f5d authored by Yu-Han Yang's avatar Yu-Han Yang Committed by Android (Google) Code Review
Browse files

Merge "Fix range when printing OtherModesEnergyMilliJoule" into sc-dev

parents 362abdff fca122ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ public class GnssPowerStats {
            ipw.println("mJ");
        }
        if (capabilities.hasPowerOtherModes()) {
            for (int i = 1; i <= mOtherModesEnergyMilliJoule.length; i++) {
            for (int i = 0; i < mOtherModesEnergyMilliJoule.length; i++) {
                ipw.print("other mode [" + i + "] power: ");
                ipw.print(mOtherModesEnergyMilliJoule[i]);
                ipw.println("mJ");