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
Loading
Please register or sign in to comment