summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2022-08-15 15:09:33 +0800
committer Ivan Chiang <chiangi@google.com> 2022-08-15 15:09:33 +0800
commite4e77f45700bcbc56aa6d6ffc094e0e0ae78190a (patch)
tree0441cbbc0d880bb185e8afcee846f08fb0b96baf /libs/androidfw/StringPool.cpp
parent750c978db58e2bfc408974a0d58c66c1bdb9af3d (diff)
[RESTRICT AUTOMERGE] Check permission for VoiceInteraction
The service must have the CAPTURE_AUDIO_HOTWORD permission to access AlwaysOnHotwordDetector. If it doesn't have the permission, return STATE_HARDWARE_UNAVAILABLE state. If it is not granted the RECORD_AUDIO permisison, it also can't start to recognize the audio. Test: manual Test: atest CtsVoiceInteractionTestCases Test: atest CtsAssistTestCases Bug: 229793943 Change-Id: I7d0f8d2f6af4bc4210060f0a44469db2afc7a1bb Merged-In: I7d0f8d2f6af4bc4210060f0a44469db2afc7a1bb
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions