diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-20 02:09:19 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-20 02:09:19 +0000 |
commit | 332dead340bb196c6ba3f6978e8fb53966c74bf7 (patch) | |
tree | 9e43a0e1c2ab0ad7799799e9263ef7889c9f14b4 /sensors/aidl/default/multihal/ConvertUtils.cpp | |
parent | 8aeba528be9892a550c2d198215aeb02d87f530e (diff) | |
parent | 0f8718023ee6e33117c7a498653f29f12079c675 (diff) |
Snap for 8094988 from 0f8718023ee6e33117c7a498653f29f12079c675 to tm-release
Change-Id: Id7b8fc2bbc1e0b2cc3d79f77679731e98ccce628
Diffstat (limited to 'sensors/aidl/default/multihal/ConvertUtils.cpp')
-rw-r--r-- | sensors/aidl/default/multihal/ConvertUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sensors/aidl/default/multihal/ConvertUtils.cpp b/sensors/aidl/default/multihal/ConvertUtils.cpp index 4d6697be3e..509bbb0e7b 100644 --- a/sensors/aidl/default/multihal/ConvertUtils.cpp +++ b/sensors/aidl/default/multihal/ConvertUtils.cpp @@ -131,7 +131,7 @@ void convertToHidlEvent(const AidlEvent& aidlEvent, V2_1Event* hidlEvent) { break; case AidlSensorType::POSE_6DOF: std::copy(std::begin(aidlEvent.payload.get<AidlEvent::EventPayload::pose6DOF>().values), - std::end(aidlEvent.payload.get<AidlEvent::EventPayload::data>().values), + std::end(aidlEvent.payload.get<AidlEvent::EventPayload::pose6DOF>().values), hidlEvent->u.pose6DOF.data()); break; case AidlSensorType::DYNAMIC_SENSOR_META: @@ -318,4 +318,4 @@ void convertToAidlEvent(const V2_1Event& hidlEvent, AidlEvent* aidlEvent) { } // namespace sensors } // namespace hardware } // namespace android -} // namespace aidl
\ No newline at end of file +} // namespace aidl |