AudioManager.getIndependentStreamTypes javadoc

List possible values for list of independent stream types.

Bug: 271178495
Test: make sdk, check AudioManager javadoc
Change-Id: Ia298081833bdcf3d5844c291b5cbb019e2e127cf
This commit is contained in:
Jean-Michel Trivi
2023-03-08 23:57:03 +00:00
parent 6789d00256
commit f8d51e2bd6

View File

@@ -9564,7 +9564,10 @@ public class AudioManager {
* A stream type is considered independent when the volume changes of that type do not
* affect any other independent volume control stream type.
* An independent stream type is its own alias when using {@link #getStreamTypeAlias(int)}.
* @return list of independent stream types.
* @return list of independent stream types, where each value can be one of
* {@link #STREAM_VOICE_CALL}, {@link #STREAM_SYSTEM}, {@link #STREAM_RING},
* {@link #STREAM_MUSIC}, {@link #STREAM_ALARM}, {@link #STREAM_NOTIFICATION},
* {@link #STREAM_DTMF} and {@link #STREAM_ACCESSIBILITY}.
*/
@SystemApi
@RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED)