diff options
author | Mathias Agopian <mathias@google.com> | 2013-05-10 19:32:39 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-05-16 18:47:21 -0700 |
commit | 0319306670b0344da99efa606b6f172dde575a39 (patch) | |
tree | 9be3e260132258ad7e02eabe2f1dc065e62bbdf2 /services/sensorservice/CorrectedGyroSensor.cpp | |
parent | 59eaeed5fabc27942d62327fa460ebb8bd2f3822 (diff) | |
download | frameworks_native-0319306670b0344da99efa606b6f172dde575a39.zip frameworks_native-0319306670b0344da99efa606b6f172dde575a39.tar.gz frameworks_native-0319306670b0344da99efa606b6f172dde575a39.tar.bz2 |
various fixes to the sensorservice
1) "google" sensors are now reporting AOSP as the vendor string
2) don't expose the system's sensor fusion if the HAL provides it
3) use uncalibrated gyro if availble for the system's sensor fusion
Change-Id: I25140436cdb29d55e39fd6fbbf8c44a410a83d5c
Diffstat (limited to 'services/sensorservice/CorrectedGyroSensor.cpp')
-rw-r--r-- | services/sensorservice/CorrectedGyroSensor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sensorservice/CorrectedGyroSensor.cpp b/services/sensorservice/CorrectedGyroSensor.cpp index 1857443..09f60a9 100644 --- a/services/sensorservice/CorrectedGyroSensor.cpp +++ b/services/sensorservice/CorrectedGyroSensor.cpp @@ -69,7 +69,7 @@ status_t CorrectedGyroSensor::setDelay(void* ident, int handle, int64_t ns) { Sensor CorrectedGyroSensor::getSensor() const { sensor_t hwSensor; hwSensor.name = "Corrected Gyroscope Sensor"; - hwSensor.vendor = "Google Inc."; + hwSensor.vendor = "AOSP"; hwSensor.version = 1; hwSensor.handle = '_cgy'; hwSensor.type = SENSOR_TYPE_GYROSCOPE; |