mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
VtsAidlHalSensorsTargetTest: Fix assignment
To make this assignment have an impact outside the function, we need to assign to the dereference of the pointer. Test: TreeHugger Bug: 195593357 Change-Id: I3541735574d6ebe2f2620c2bc5fbf5dd7d97cd91
This commit is contained in:
@@ -978,7 +978,7 @@ void SensorsAidlTest::verifyRegisterDirectChannel(
|
||||
ASSERT_EQ(status.getExceptionCode(), error);
|
||||
ASSERT_EQ(channelHandle, -1);
|
||||
}
|
||||
directChannelHandle = &channelHandle;
|
||||
*directChannelHandle = channelHandle;
|
||||
}
|
||||
|
||||
void SensorsAidlTest::verifyUnregisterDirectChannel(int32_t* channelHandle,
|
||||
|
||||
Reference in New Issue
Block a user