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

Commit db56e7b9 authored by Kelly Rossmoyer's avatar Kelly Rossmoyer Committed by Android (Google) Code Review
Browse files

Merge "Increase size of BatteryStatsService stats buffer" into pi-dev

parents ea50ff85 03ad13e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ public final class BatteryStatsService extends IBatteryStats.Stub
                    .replaceWith("?");
    private ByteBuffer mUtf8BufferStat = ByteBuffer.allocateDirect(MAX_LOW_POWER_STATS_SIZE);
    private CharBuffer mUtf16BufferStat = CharBuffer.allocate(MAX_LOW_POWER_STATS_SIZE);
    private static final int MAX_LOW_POWER_STATS_SIZE = 512;
    private static final int MAX_LOW_POWER_STATS_SIZE = 2048;

    /**
     * Replaces the information in the given rpmStats with up-to-date information.