summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.cpp
diff options
context:
space:
mode:
authorBookatz <bookatz@google.com>2017-10-10 11:06:33 -0700
committerBookatz <bookatz@google.com>2017-10-10 11:06:33 -0700
commitba78b2bcc73565b68394764ef8a302df64d60fc5 (patch)
tree77991a165f780bdc94e64199e4bdb209a2048a41 /tools/aapt/ResourceTable.cpp
parentdfa33071066847db5fa8b45ac2e38f99f2f05579 (diff)
Fix parcelling of Kernel Wakelock/reason
In BatteryStatsImpl.java: Previously, if inclUid == false, then kernelWakelockStats and wakeupReasonStats were not printed to the parcel, but only a single 0 was written in their place. In the parcel-reading code, their sizes are read, so if they are not present, there should be a 0 for each of them. In other words, two 0s should be written if they are not present, instead of just 1. Test: none Change-Id: I1d443e9659646f0d30063f275a6a9db42b0a3906
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions