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

Commit dc9988b6 authored by Benjamin Schwartz's avatar Benjamin Schwartz Committed by Android (Google) Code Review
Browse files

Merge "Increase size of BatteryStatsService stats buffer" into qt-r1-dev

parents 59c53a10 cf7935ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,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 = 2048;
    private static final int MAX_LOW_POWER_STATS_SIZE = 4096;

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