diff options
author | Mathias Agopian <mathias@google.com> | 2010-11-30 15:41:41 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-11-30 15:41:41 -0800 |
commit | be0ece6f855ee2ab52309b6633def90ddeab38ee (patch) | |
tree | 5392c183af0a9beb39c93a705a8ec12a33d77d1f /services | |
parent | b9c19be7c198dcdac7a37ea4af901af5179933d9 (diff) | |
parent | 186b68b74417e8ef73f2083769166e7785df6c30 (diff) | |
download | frameworks_base-be0ece6f855ee2ab52309b6633def90ddeab38ee.zip frameworks_base-be0ece6f855ee2ab52309b6633def90ddeab38ee.tar.gz frameworks_base-be0ece6f855ee2ab52309b6633def90ddeab38ee.tar.bz2 |
am 186b68b7: Merge "allow rotation-vector to have 4 components" into gingerbread
* commit '186b68b74417e8ef73f2083769166e7785df6c30':
allow rotation-vector to have 4 components
Diffstat (limited to 'services')
-rw-r--r-- | services/sensorservice/RotationVectorSensor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/sensorservice/RotationVectorSensor.cpp b/services/sensorservice/RotationVectorSensor.cpp index eecf260..50cd6be 100644 --- a/services/sensorservice/RotationVectorSensor.cpp +++ b/services/sensorservice/RotationVectorSensor.cpp @@ -125,6 +125,7 @@ bool RotationVectorSensor::process(sensors_event_t* outEvent, outEvent->data[0] = qx; outEvent->data[1] = qy; outEvent->data[2] = qz; + outEvent->data[3] = qw; outEvent->sensor = '_rov'; outEvent->type = SENSOR_TYPE_ROTATION_VECTOR; return true; |