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
committerNicholas Ambur <nambur@google.com>2020-03-20 12:05:26 -0700
commit5a207846e63842fed0bd4f7c419951799ea5f4f7 (patch)
tree48a98835b39a393d5afc714407ca54f8c0dd750c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent962150b5a95f7eda535a5ffe610a6c113008c8ee (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions