Merge "Fix parcelling of Kernel Wakelock/reason"
This commit is contained in:
committed by
Android (Google) Code Review
commit
19777ff1d1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user