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

This commit is contained in:
Dianne Hackborn
2014-08-19 00:44:37 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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());

View File

@@ -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;