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

Skip to content
Commit 6a57fba3 authored by fayey's avatar fayey
Browse files

Ambient Activation p2.2

This change enables the OP_RECEIVE_SANDBOX_TRIGGER_AUDIO turning on the Microphone privacy indicator.

Bug: 287264308
Test: atest com.android.systemui.appops.AppOpsControllerTest
Test: atest com.android.systemui.privacy.AppOpsPrivacyItemMonitorTest
Test-manual:
When 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/5513928401485824

When voice activation op is enabled (AppOpsPolicy.IS_VOICE_ACTIVATION_OP_ENABLED = true && AbstractDetector.IS_IDENTITY_WITH_ATTRIBUTION_TAG = true), and test apk with attribution tag is installed: https://paste.googleplex.com/6105488876896256

when mic access is blocked by toggle in the tile, no privacy indicator is turned on, no voice activation and hence no OP_RECEIVE_SANDBOX_TRIGGER_AUDIO is noted.

Change-Id: I5ae494a8d319d7f8b81e8501abf9313aaae58fba
parent 84f5fa0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment