soundtrigger: Use "default" instance name for HAL service

"default" implies using "primary" legacy device module.
This doesn't change anything for binderized mode, because
the server was only registering itself as "sound_trigger.primary",
so it was the only possibility anyways.

Usage of "stub" (debugging) module is still possible
if audioflinger and corresponding services are built with
USE_LEGACY_LOCAL_AUDIO_HAL=true (added makefile check to ensure
that).

Change-Id: Idc69c2ae1e0a02a7d2134f469f65d6de72aa5fe9
Test: "Ok Google" from screen off state on sailfish
Bug: 36570720
This commit is contained in:
Mikhail Naganov
2017-04-13 11:00:46 -07:00
parent 13a91b2731
commit e1e3e5bdf7

View File

@@ -148,7 +148,7 @@
<version>2.0</version>
<interface>
<name>ISoundTriggerHw</name>
<instance>sound_trigger.primary</instance>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">