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

Commit 86997180 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

Audio flags: add flag for AAOS protection of volume API

Add flag auto_public_volume_api_hardening
in package com.android.media.audio.flags for the
hardening of volume APIs in android.media.AudioManager
for automotive use cases.

Bug: 302751899
Test: atest android.media.audio.cts.AudioManagerTest
Change-Id: I5629be93dba8e35ff0d557c11524f584a2552805
parent 79898921
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -32,3 +32,10 @@ This feature helps reduce audio glitching caused by low priority \
blocking threads."
    bug: "209491695"
}

flag {
    name: "auto_public_volume_api_hardening"
    namespace: "media_audio"
    description: "On AAOS, make volume and ringer SDK APIs in AudioManager no-ops."
    bug: "302751899"
}