SOUND_DEVICE_STATE_DEPRECATED_ACTIVATED_MASK was removed from public
API, thus we need to add internal header to resolve build break.
[Verification] Code compiles without errors.
Change-Id: I4b0007b6cd4635cacccbde25f1d974f213309d0d
#include "common/platform_exception.h"
#include "common/tools.h"
#include "sound_manager.h"
+#include "sound_manager_internal.h"
namespace extension {
namespace sound {
void SoundInstance::SoundManagerGetActivatedDeviceList(const picojson::value& args,
picojson::object& out) {
ScopeLogger();
- manager_.GetDeviceList(SOUND_DEVICE_STATE_ACTIVATED_MASK, out);
+ manager_.GetDeviceList((sound_device_mask_e)SOUND_DEVICE_STATE_DEPRECATED_ACTIVATED_MASK, out);
}
void SoundInstance::SoundManagerAddDeviceStateChangeListener(const picojson::value& args,