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

Skip to content
Commit bd6ad4ca authored by Atneya Nair's avatar Atneya Nair
Browse files

Add appops for audio hardening

Add two internal appops associated with audio hardening work.

OP_CONTROL_AUDIO is the primary op, which will be associated with a
capability.  OP_CONTROL_AUDIO_PARTIAL is the secondary op, which will is
FOREGROUND without a capability.

OP_CONTROL_AUDIO may eventually be exposed in the special app access
menu in settings.

The implementation will be flagged rather than the definition since
these are not APIs.

Test: atest AppOpsDefinitionTest
Bug: 376480814
Flag: com.android.media.audio.hardening_impl
Change-Id: I69a5cae3a37968176198c938f9a5077e7750d595
parent a62258de
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