Chromium Code Reviews
Descriptiondevice_sensors: make sure to clear the shared memory buffer on each start.
DataFetcherSharedMemoryBase::StartFetchingDeviceData(ConsumerType)
should clear the shared memory buffer before each start to make
sure there are no stale values.
This patch adds robustness to platform dependent fetcher
implementations e.g. when the buffer is live and its data
is updated incrementally as soon as it becomes available.
It also allows to correctly handle cases when sensors are
disabled or go offline.
BUG=609533
Committed: https://crrev.com/9b8b3e34a3251fba6019857b1299e0bae7892662
Cr-Commit-Position: refs/heads/master@{#392386}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||