summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ahaan Ugale <augale@google.com> 2021-08-17 20:40:36 -0700
committer Joanne Chung <joannechung@google.com> 2022-06-28 09:47:53 +0000
commite0911970fd3c05fab24810c56b9d9646c7157596 (patch)
treea90be08d2fa3560b5f125a99be6d6c0a59de4b22 /libs/androidfw/StringPool.cpp
parent65b42e199bc1b7c80a472b7560cdaf98e9766194 (diff)
RESTRICT AUTOMERGE Disable the Trusted Hotword requirement
The requirement to use a sandboxed HotwordDetectionService to avoid incurring the mic indicator will be added back in a future release. With this change, SoundTrigger events and hotword-source audio do not incur the mic indicator for any process. This change adds back the permissions logic from I3275647d0f9a6e3ce8b97a556f56723b49170c8e, adjusted to account for the changes from I6d63c99e2d31e3f668070ac82afed71ff6672c9e (permissions now checked in LegacyPermissionManagerService and a new op is used). We preserve the behavior of showing the indicator when the detected event is delivered from the Trusted Hotword process (no false-positives here, so we can accurately show it). Fix: 234026976 Test: manual - dsp and non-dsp; true and false positives; mute mic sensor - events aren't delivered and no dialog is shown, hotword still works after unmuting; mute mic and restart, unmute after starting reco; Trusted and non-Trusted hotwording Test: atest CameraMicIndicatorsPermissionTest Test: atest HotwordDetectionServiceBasicTest Test: atest android.cts.statsdatom.appops.AppOpsTests#testAppOps Change-Id: I68f2f37b5ce835e7fd8649b382eaee9fc299ec79 Merged-In: I68f2f37b5ce835e7fd8649b382eaee9fc299ec79 (cherry picked from commit 3f961f24f49d30c73097c96a30b8d922bf1c88d9) (cherry picked from commit c5e8f7f59d775c42fe53cb99fcbafc5ec005f579)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions