AudioService: protect volume APIs for AAOS
Prevent calls to android.media.AudioManager .setStreamVolume .adjustVolume .adjustSuggestedStreamVolume .adjustStreamVolume .setRingerMode for apps that don't have the permission MODIFY_AUDIO_SETTINGS_PRIVILEGED. Using flag com.android.media.audio.flags.auto_public_volume_api_hardening Test: atest android.media.audio.cts.AudioManagerTest Bug: 302751899 Change-Id: Ic1fc7d70d4a4e541765c1e21d4054c5ab8f07c0d
Loading
Please register or sign in to comment