Merge "Add a LINT.IfChange to sensors_event_t" am: 878d3d1c7e
am: bc544c7d9a
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2320221 Change-Id: I82e16c91597ab2cc4b89dd3f179c196886625ba7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
8dc381c5cf
1 changed files with 3 additions and 0 deletions
|
@ -367,9 +367,11 @@ typedef struct {
|
|||
float accuracy;
|
||||
} heading_event_t;
|
||||
|
||||
// LINT.IfChange
|
||||
/**
|
||||
* Union of the various types of sensor data
|
||||
* that can be returned.
|
||||
* This type needs to remain identical to ASensorEvent.
|
||||
*/
|
||||
typedef struct sensors_event_t {
|
||||
/* must be sizeof(struct sensors_event_t) */
|
||||
|
@ -479,6 +481,7 @@ typedef struct sensors_event_t {
|
|||
|
||||
uint32_t reserved1[3];
|
||||
} sensors_event_t;
|
||||
// LINT.ThenChange (frameworks/native/include/android/sensor.h)
|
||||
|
||||
|
||||
/* see SENSOR_TYPE_META_DATA */
|
||||
|
|
Loading…
Reference in a new issue