summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNicholas Ambur <nambur@google.com>2020-03-19 21:01:31 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-20 19:14:09 +0000
commit00d8f1fe5a44cf7658ed15d7dfde4a29d3864faa (patch)
treea747057f8493eef6fe0adcff054ba7745f0cc884 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6180ef8af7b7bbf4ae20bdd33bf02b03a197cc8e (diff)
add KEYPHRASE_ENROLLMENT_APPLICATION permission
Split the model management permission controll into two separate permissions. KEYPHRASE_ENROLLMENT_APPLICATION is reserved for enrollment applications detected by KeyphraseEnrollmentInfo class while MANAGE_VOICE_KEYPHRASES is reserved for VoiceInteractionService implementations. Keyphrase enrollment applications are allowed to enroll at anytime, and VoiceInteractionService implementations are only allowed to enroll when they are the active service (see VoiceInteractionManagerService). Bug: 151405284 Test: Enroll voice model from both enrollment application and active voiceinteraction service. Change-Id: I12eeb09e308af9aa934174dd059f47f789a9ce39 Change-Id: Iffdfeab1d09ec6c8cf4b30a9768ef6efc9bdfa01 (cherry picked from commit 5a207846e63842fed0bd4f7c419951799ea5f4f7)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions