Loading services/core/java/com/android/server/audio/AudioService.java +4 −0 Original line number Diff line number Diff line Loading @@ -5441,6 +5441,10 @@ public class AudioService extends IAudioService.Stub protected void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags, int device) { streamType = sStreamVolumeAlias.get(streamType, /*valueIfKeyNotFound=*/-1); if (streamType == -1) { Slog.e(TAG, "Invalid stream type. No update to IVolumeController", new Exception()); return; } if (streamType == AudioSystem.STREAM_MUSIC && isFullVolumeDevice(device)) { flags &= ~AudioManager.FLAG_SHOW_UI; Loading Loading
services/core/java/com/android/server/audio/AudioService.java +4 −0 Original line number Diff line number Diff line Loading @@ -5441,6 +5441,10 @@ public class AudioService extends IAudioService.Stub protected void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags, int device) { streamType = sStreamVolumeAlias.get(streamType, /*valueIfKeyNotFound=*/-1); if (streamType == -1) { Slog.e(TAG, "Invalid stream type. No update to IVolumeController", new Exception()); return; } if (streamType == AudioSystem.STREAM_MUSIC && isFullVolumeDevice(device)) { flags &= ~AudioManager.FLAG_SHOW_UI; Loading