OSDN Git Service

Fix activation issue with auto disabled sensors.
authorJaikumar Ganesh <jaikumar@google.com>
Tue, 16 Apr 2013 22:52:23 +0000 (15:52 -0700)
committerJaikumar Ganesh <jaikumar@google.com>
Wed, 17 Apr 2013 21:58:22 +0000 (14:58 -0700)
commit4c01b1ad80e084f0cd1057f89fdd1fcedf19dd96
tree2dae47263740a0d218a67bfa57e80e422c7572e9
parent883daf6eed36c11a7cb458f07a88e7a9cea29c27
Fix activation issue with auto disabled sensors.

Auto disabled sensors get auto disabled after trigger.
An activation after this wasn't working because the
state was not being reset.

b/8609561

Change-Id: If72c9f27345e91671d7ad0a7a066f6dc3d255b78
services/sensorservice/SensorDevice.cpp
services/sensorservice/SensorDevice.h
services/sensorservice/SensorInterface.cpp
services/sensorservice/SensorInterface.h
services/sensorservice/SensorService.cpp