audiopolicy: Fix ompilation errors with AOSP refresh
- Update API signature to inline with AOSP refresh
Change-Id: Ie9eac48abc7f10d3673d6dee8c391ff75f44cc1e
diff --git a/policy_hal/AudioPolicyManager.cpp b/policy_hal/AudioPolicyManager.cpp
index 1328eef..fbb446a 100644
--- a/policy_hal/AudioPolicyManager.cpp
+++ b/policy_hal/AudioPolicyManager.cpp
@@ -1427,11 +1427,10 @@
audio_devices_t device,
audio_session_t session,
audio_stream_type_t stream,
- audio_io_handle_t originalOutput,
const audio_config_t *config,
audio_output_flags_t *flags)
{
- audio_io_handle_t output = originalOutput;
+ audio_io_handle_t output = AUDIO_IO_HANDLE_NONE;
status_t status;
if (stream < AUDIO_STREAM_MIN || stream >= AUDIO_STREAM_CNT) {
diff --git a/policy_hal/AudioPolicyManager.h b/policy_hal/AudioPolicyManager.h
index ce3da2f..9e58dcf 100644
--- a/policy_hal/AudioPolicyManager.h
+++ b/policy_hal/AudioPolicyManager.h
@@ -169,7 +169,6 @@
audio_devices_t device,
audio_session_t session,
audio_stream_type_t stream,
- audio_io_handle_t originalOutput,
const audio_config_t *config,
audio_output_flags_t *flags);