Loading
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