Change expected return type in direct report VTS
If a sensor doesn't support a particular memory type for direct reporting, then registerChannel will return an invalid channel handle. When this handle is used in configureDirectReport, it will return BAD_VALUE and when used in unregisterDirectReport, it will return OK. Currently, the VTS tests assert it will return INVALID_OPERATION, but that will only happen if the entire HAL doesn't support direct reporting instead of a single sensor not supporting a certain memory type. Bug: 138758242 Test: Run VTS and verify DirectChannel* tests now pass Change-Id: Ifba4262b68ec0c4ca6921dad40a03e0a52088d28
Loading
Please register or sign in to comment