Adding getModelState to soundtrigger with build fix.

original cl was ag/4879522

Bug: 70206501
Test: Built android
Change-Id: I11f164d8ade66cd7e56f1fa4e46dafa1d56db8cd
This commit is contained in:
mike dooley
2018-09-21 09:07:37 +02:00
parent 82ef387215
commit 0320d560ea
9 changed files with 469 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ exit:
}
SoundTriggerHalImpl::SoundTriggerHalImpl()
: mModuleName("primary"), mHwDevice(NULL), mNextModelId(1) {}
: mModuleName("primary"), mNextModelId(1), mHwDevice(NULL) {}
void SoundTriggerHalImpl::onFirstRef() {
const hw_module_t* mod;