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

Commit 249a7fdf authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Temporary: raise overflow limit, print all wake locks." into lmp-dev

parents 468fef68 acc4a120
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3065,7 +3065,7 @@ public abstract class BatteryStats implements Parcelable {
                            "partial", which, linePrefix);
                    linePrefix = printWakeLock(sb, wl.getWakeTime(WAKE_TYPE_WINDOW), rawRealtime,
                            "window", which, linePrefix);
                    if (!linePrefix.equals(": ")) {
                    if (true || !linePrefix.equals(": ")) {
                        sb.append(" realtime");
                        // Only print out wake locks that were held
                        pw.println(sb.toString());
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public final class BatteryStatsImpl extends BatteryStats {
    // The maximum number of names wakelocks we will keep track of
    // per uid; once the limit is reached, we batch the remaining wakelocks
    // in to one common name.
    private static final int MAX_WAKELOCKS_PER_UID = 50;
    private static final int MAX_WAKELOCKS_PER_UID = 100;

    private static int sNumSpeedSteps;