Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42f1565e authored by fayey's avatar fayey
Browse files

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
parent 4db2da9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment