Temporary: raise overflow limit, print all wake locks.

Change-Id: I02baa775b8e0659bd9cd4547b8671730f056cb86
This commit is contained in:
Dianne Hackborn
2014-08-18 16:33:44 -07:00
parent f52233df74
commit acc4a12074
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;