summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2014-05-30 14:40:13 +0100
committer Narayan Kamath <narayan@google.com> 2014-05-30 14:40:13 +0100
commit403ec9f15a9cf2fedea2e2e0a24421dc30625140 (patch)
tree6d7581bd5dd70f59bc91193caf990613cd0d6281 /libs/gui/ConsumerBase.cpp
parent63645c69e03cf3862c52cfde6cbd5f5143ccd38a (diff)
Fix flattening/unflattening of android::Sensor.
Write string lengths as uint32_t so that their width is the same on 32 and 64 bit processes. Note that this fixes another bug as a side effect; getFlattenedSize was assuming that sizeof(uint32_t) == sizeof(size_t). Change-Id: I7b6e3993e1f1ac45c14832ce59c59e0772855a2f
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions