Fix audio VTS build
Update AudioPrimaryHidlHalTest to reflect changes in AudioPolicyConfig class. Test: make Change-Id: Iab5cb85ff8e79fb5387d5e8ad2f85748342e80fa
This commit is contained in:
parent
fa4333b8e5
commit
22ab6f2feb
1 changed files with 1 additions and 2 deletions
|
@ -142,14 +142,13 @@ struct PolicyConfigData {
|
|||
android::DeviceVector availableOutputDevices;
|
||||
android::DeviceVector availableInputDevices;
|
||||
sp<android::DeviceDescriptor> defaultOutputDevice;
|
||||
android::VolumeCurvesCollection volumes;
|
||||
};
|
||||
|
||||
class PolicyConfig : private PolicyConfigData, public AudioPolicyConfig {
|
||||
public:
|
||||
PolicyConfig()
|
||||
: AudioPolicyConfig(hwModules, availableOutputDevices, availableInputDevices,
|
||||
defaultOutputDevice, &volumes) {
|
||||
defaultOutputDevice) {
|
||||
for (const char* location : kConfigLocations) {
|
||||
std::string path = std::string(location) + '/' + kConfigFileName;
|
||||
if (access(path.c_str(), F_OK) == 0) {
|
||||
|
|
Loading…
Reference in a new issue