policy-hal: extend getDeviceForStrategy for WFD use-cases
Need to extend getDeviceForStrategy function in
custom audio policy so that WFD use-case selects
proxy for needed strategies.
Change-Id: Ib5ca3d70eaeeecfa78529b939674d766388b133e
diff --git a/policy_hal/AudioPolicyManager.h b/policy_hal/AudioPolicyManager.h
index 0959429..c8bdb42 100644
--- a/policy_hal/AudioPolicyManager.h
+++ b/policy_hal/AudioPolicyManager.h
@@ -79,6 +79,8 @@
// indicates to the audio policy manager that the input stops being used.
virtual status_t stopInput(audio_io_handle_t input,
audio_session_t session);
+
+ virtual audio_devices_t getDeviceForStrategy(routing_strategy strategy, bool fromCache);
protected:
status_t checkAndSetVolume(audio_stream_type_t stream,