summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Aravind Akella <aakella@google.com> 2014-09-03 15:48:05 -0700
committer Aravind Akella <aakella@google.com> 2014-09-03 18:24:05 -0700
commit9e3adfcebf28c5c76085108dffe98c74df56857d (patch)
tree18d56b979a4d8b0c3a6f5222daf3caf50761e434 /libs/gui/ConsumerBase.cpp
parentbcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 (diff)
SensorService flush fixes.
i) Fix a possible race condition when adding a pending flush connection to mActiveSensors data structure. ii) Invalidate flush_complete_events as soon as they are consumed by a connection so that they are not used by other connections which are registered for the same sensor. Change-Id: I1491bea8c2081c4aab1feacc60add13b7aa26bb7
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions