summaryrefslogtreecommitdiff
path: root/sensors
diff options
context:
space:
mode:
authorBrian Duddie <bduddie@google.com>2022-02-14 10:40:17 -0800
committerBrian Duddie <bduddie@google.com>2022-02-15 19:56:12 +0000
commit03e15d8e8f46467aeec1eeabde352364079d7b51 (patch)
tree5135dc208f42156cb8cb7fa94d8d786904290350 /sensors
parent454950128ebc5b67f5ac0b585928b9c6f4447a3c (diff)
Clarify optionality of head tracker velocity
Bug: 218911221 Test: n/a, comment change only Change-Id: I2645114727c452df8d53ad015736f9f2d8d5b6e2
Diffstat (limited to 'sensors')
-rw-r--r--sensors/aidl/android/hardware/sensors/Event.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/sensors/aidl/android/hardware/sensors/Event.aidl b/sensors/aidl/android/hardware/sensors/Event.aidl
index e8550f184b..b95299c506 100644
--- a/sensors/aidl/android/hardware/sensors/Event.aidl
+++ b/sensors/aidl/android/hardware/sensors/Event.aidl
@@ -204,6 +204,8 @@ parcelable Event {
* velocity of the head (relative to itself), in radians per second.
* The direction of this vector indicates the axis of rotation, and
* the magnitude indicates the rate of rotation.
+ * If this head tracker sensor instance does not support detecting
+ * velocity, then these fields must be set to 0.
*/
float vx;
float vy;