summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author fayey <fayey@google.com> 2023-08-08 18:46:44 +0000
committer fayey <fayey@google.com> 2023-08-16 16:47:51 +0000
commit42f1565e340d3b9500e3913c202c43d2f5a6c35c (patch)
tree8218f29e700b401ef5277b39f1662b146b35086b /api/api.go
parent4db2da9c66f2c3cb5a5de1fc393fc1824d8d5081 (diff)
Ambient Activation p2.3
This change set global restriction on the OP_RECEIVE_SANDBOX_TRIGGER_AUDIO to make sure if the mic is blocked when user toggled, 1) no voice activation of the assistant app and 2) no microphone privacy indicator would be turned on. Bug: 287264308 Bug: 293930248 Test: atest com.android.systemui.appops.AppOpsControllerTest Test-manual: when test.apk is intalled(to provide voiceinternactionservice attribution tag), and voice activation op is not enabled:(AppOpsPolicy.IS_VOICE_ACTIVATION_OP_ENABLED = false && AbstractDetector.IS_IDENTITY_WITH_ATTRIBUTION_TAG = false), no OP_RECEIVE_SANDBOX_TRIGGER_AUDIO is noted. https://paste.googleplex.com/5609810593579008 When test.apk is intalled, and voice activation op is enabled (AppOpsPolicy.IS_VOICE_ACTIVATION_OP_ENABLED = true && AbstractDetector.IS_IDENTITY_WITH_ATTRIBUTION_TAG = true): https://paste.googleplex.com/5178429057007616 Change-Id: Idd066e1809b34b5209c66c3324fd6932f1ea9671
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions