summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-05-29 17:54:06 -0700
committerSandeep Siddhartha <sansid@google.com>2014-06-11 15:33:58 -0700
commite5706787599f8397e19e66afa70753ba350cc91b (patch)
tree09cc5d27deef27d61f4a9b797f4c913c109c2553 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6123315ad41b268bb2de52b2008885bf00408b5e (diff)
Initial support for reading the enrollment metadata
- Defines schema for enrollment apps to publish metadata for the search keyphrase. This metadata consists of an ID, a user visible keyphrase, and the target package to handle the keyphrase, when it triggers. - Reads the metadata and populates the KeyphraseInfo object for access via the VoiceInteractionService - Adds permission and intent action for the enrollment app. The enrollment app needs to be a system app protected with the MANAGE_VOICE_KEYPHRASES permission and the activity performing the enrollment needs to handle the ACTION_MANAGE_VOICE_KEYPHRASES - The keyphrase info currently stores an ID - that's for internal bookkeeping only, a keyphrase text - that's used by the public APIs, and a list of supported locales, which isn't exposed but is used while indicating if hardware hotword is available for a particular keyphrase in a language or not. Change-Id: Ibe6c52a5a3eecfd74c4a8382713a35eb88d38df9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions