libaudiohal@aidl: Fix filterAndUpdateOffloadMetadata return status
When processing keyOffloadCodecChannels parameter, a successful
return was missing.
Bug: 319376495
Test: m
Change-Id: I0c04c72a4d4a1716793f06e9bb6fcb8d3fd8a915
diff --git a/media/libaudiohal/impl/StreamHalAidl.cpp b/media/libaudiohal/impl/StreamHalAidl.cpp
index 378d919..c2d7ee1 100644
--- a/media/libaudiohal/impl/StreamHalAidl.cpp
+++ b/media/libaudiohal/impl/StreamHalAidl.cpp
@@ -808,6 +808,7 @@
mOffloadMetadata.channelMask = VALUE_OR_RETURN_STATUS(
::aidl::android::legacy2aidl_audio_channel_mask_t_AudioChannelLayout(
channel_mask, false /*isInput*/));
+ return OK;
}
return BAD_VALUE;
}))) {