summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Peng Xu <pengxu@google.com> 2016-09-26 11:28:32 -0700
committer Andrew Rossignol <aarossig@google.com> 2016-09-26 23:48:19 +0000
commit4f707f8b3da68d3055db895da9ae5216cc4f483a (patch)
treea6fc0a34070e16fe820154ec077c0cccac8e35df /libs/gui/ConsumerBase.cpp
parenta92604b3cd73893cd7c7bc8551471884bd4d581c (diff)
[sensorservice] Fix inconsistent states in SensorDevice
This CL avoids inconsistent disabled client list when sensorservice is in restricted mode and a restricted sensor event connection is destroyed. The inconsistency can cause registerLister error in sensor CTS. Also removed the additional logging message since they are no longer necessary. Bug: 28533594 Test: Running "cts-tradefed run singleCommand cts-dev --module CtsHardwareTestCases --test android.hardware.cts.SensorBatchingTests" continuously while keep registering and unregistering sensor listener in a separate app (e.g. enable BreakIt mode in SensorLogger). Change-Id: I601aea87c88511f5543a80c4921ee4822cb89dff
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions