diff options
author | Matt Garnes <matt@cyngn.com> | 2015-09-04 18:02:20 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-28 13:30:32 -0700 |
commit | b09f7797429af5c0034d1a6c52c2a47a35b0e428 (patch) | |
tree | 90d7b719101a9df1d88da2801ccf3144f20b997b /samples/training | |
parent | 66ed04e967adb4bb5545ecf06ce692c6e5b790ea (diff) | |
download | frameworks_base-b09f7797429af5c0034d1a6c52c2a47a35b0e428.zip frameworks_base-b09f7797429af5c0034d1a6c52c2a47a35b0e428.tar.gz frameworks_base-b09f7797429af5c0034d1a6c52c2a47a35b0e428.tar.bz2 |
Add broadcast and query API for AudioSource.HOTWORD.
- When the AudioSource.HOTWORD input becomes active or is released, send
a Broadcast with the package name and the new state of the audio input
to any applications that hold CAPTURE_AUDIO_OUTPUT.
- Store the package name of the application that controls the hOTWORD
input or set it to null if the input is not in use.
- Add a new method to AudioService to retrieve the package name of the
application that currently controls the HOTWORD input.
Change-Id: I2f11888f3711d23b6287a4de7b81d361734a8f3b
Diffstat (limited to 'samples/training')
0 files changed, 0 insertions, 0 deletions