Files
android_development/samples/VoiceInteractionService/Android.bp
Ahaan Ugale 45f7d2aaf5 Update HotwordDetectionService prototype.
- Added permission requirements for communicating with system enrollment
  app
- Added priv-app permission build target
  'com.example.android.voiceinteractor.xml'
- Updated README usage directions
- Added log messages when reading audio from AudioRecord
- Changed AudioRecord read calls to request all of the desired data in a
  single .read() call
- Refactor AudioRecord buffer settings to top of service files in
  Duration type
- Compute bytesPerSecond based on EventPayload AudioFormat passed by
  SoundTrigger HAL
- Fixed keyphrase used by VoiceInteractionService to "X Google"
- Added trace events for tracking the time to read audio in VIS after a
  trusted onDetected() callback.

Bug: 168305377
Test: manual
Change-Id: I6c1db7f70ddd62d21c0bb7eba663fe9503d96ae3
2022-09-02 16:34:42 -07:00

23 lines
508 B
Plaintext

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app {
name: "SampleVoiceInteractor",
srcs: ["**/*.java"],
min_sdk_version: "30",
target_sdk_version: "30",
sdk_version: "system_current",
privileged: true,
static_libs: [
"androidx.annotation_annotation",
],
}
prebuilt_etc {
name: "com.example.android.voiceinteractor.xml",
src: "com.example.android.voiceinteractor.xml",
sub_dir: "permissions",
filename_from_src: true,
}