- Refactoring SoundTriggerHelper to handle generic sound models. - Ability to store multiple models, callback and state information. - Separate out initialization to be done per voice model, per any model and per generic model. - Minor change to the API exposed -- removing the Handler from the createSoundTriggerDetector call. - Added callback processing for onRecognitionEvent(). - Added logic for stopAll(). - Changes to the SoundTriggerTestApp to start/stop recognition. - Multiple models (3). - Ability to start/stop/load/unload individual models. Bug: 22860713 Bug: 27222043 Change-Id: Ie5d811babb956bead653fb560a43f1e549ed11bd
24 lines
988 B
XML
24 lines
988 B
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.test.soundtrigger">
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_SOUND_TRIGGER" />
|
|
<application>
|
|
<activity
|
|
android:name="TestSoundTriggerActivity"
|
|
android:label="SoundTrigger Test Application"
|
|
android:theme="@android:style/Theme.Material">
|
|
<!--
|
|
<intent-filter>
|
|
<action android:name="com.android.intent.action.MANAGE_SOUND_TRIGGER" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
-->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|