Merge "Fix parcelling of Kernel Wakelock/reason"

This commit is contained in:
TreeHugger Robot
2017-10-16 17:54:39 +00:00
committed by Android (Google) Code Review

View File

@@ -119,7 +119,7 @@ public class BatteryStatsImpl extends BatteryStats {
private static final int MAGIC = 0xBA757475; // 'BATSTATS'
// Current on-disk Parcel version
private static final int VERSION = 167 + (USE_OLD_HISTORY ? 1000 : 0);
private static final int VERSION = 168 + (USE_OLD_HISTORY ? 1000 : 0);
// Maximum number of items we will record in the history.
private static final int MAX_HISTORY_ITEMS;
@@ -13118,7 +13118,7 @@ public class BatteryStatsImpl extends BatteryStats {
}
}
} else {
// TODO: There should be two 0's printed here, not just one.
out.writeInt(0);
out.writeInt(0);
}