diff options
author | 2016-12-13 00:04:06 +0530 | |
---|---|---|
committer | 2016-12-14 11:09:33 +0530 | |
commit | e96e577172c22e0623b384d7e9221bb22d40a59d (patch) | |
tree | 4f36813d7b06c24d0f298647bef63b27a722090b | |
parent | fce768d017e4e4c08c98396840c9557daeb3f926 (diff) |
Sensor: Add more comments for ASensorEventQueue_registerSensor() function
Lets add more comments to clarify that ASensorEventQueue_disableSensor is
to be used same as before for deactivating the sensor with respect to
sensor activation with ASensorEventQueue_registerSensor function.
Test: Check clarification in comments / spell check
Change-Id: Id38c002b57154c1feedf099f45b0ed8ed004ca39
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
-rw-r--r-- | include/android/sensor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/android/sensor.h b/include/android/sensor.h index b6a42ae34b..4a0081850f 100644 --- a/include/android/sensor.h +++ b/include/android/sensor.h @@ -397,6 +397,7 @@ int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* /** * Enable the selected sensor with a specified sampling period and max batch report latency. * Returns a negative error code on failure. + * Note: To disable the selected sensor, use ASensorEventQueue_disableSensor() same as before. */ int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, int32_t samplingPeriodUs, int maxBatchReportLatencyUs); |