Unnamed
public java v1 · immutable // Don't play sound on other streams if (streamType != AudioSystem.STREAM_RING && (flags & AudioManager.FLAG_PLAY_SOUND) != 0) { // don't remove flag, if stream is STREAM_MUSIC, mDefaultVolumeMusic is set and no sound is playing if (mDefaultVolumeMedia != 1 || streamType != AudioSystem.STREAM_MUSIC || AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC) ) { flags &= ~AudioManager.FLAG_PLAY_SOUND; } }