Added audio service API to set active assistants.
Added API to manage the currently active assistants UIDs. When an assistant can become active the API can be called to set voice interaction service and corresponging trusted hotword service as active. If there are no assistant UIDs in the active list the audio policy service uses the default policy, which is to find the latest active assistant and allow that to continue listening. This is to continue support for legacy devices where the management of the active assistant should be preserve. Bug: 189312611 Test: m -j, and run assistant Change-Id: I18984f3dcb8bf63dd16b3ae86d96dfbce39ced03
Loading
Please register or sign in to comment