Merge "AudioManager.getIndependentStreamTypes javadoc" into udc-dev am: 341c19726b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21917020

Change-Id: Ia7bb06bb808654d055599afc6af42633c33d1c27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jean-Michel Trivi
2023-03-09 15:58:29 +00:00
committed by Automerger Merge Worker

View File

@@ -9564,7 +9564,10 @@ public class AudioManager {
* A stream type is considered independent when the volume changes of that type do not * A stream type is considered independent when the volume changes of that type do not
* affect any other independent volume control stream type. * affect any other independent volume control stream type.
* An independent stream type is its own alias when using {@link #getStreamTypeAlias(int)}. * 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 @SystemApi
@RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED)