Merge "AudioManager: restore getVolumeGroupIdForAttributes behavior" into tm-qpr-dev

This commit is contained in:
Eric Laurent
2023-02-06 10:35:53 +00:00
committed by Android (Google) Code Review

View File

@@ -1409,7 +1409,7 @@ public class AudioManager {
public int getVolumeGroupIdForAttributes(@NonNull AudioAttributes attributes) {
Preconditions.checkNotNull(attributes, "Audio Attributes must not be null");
return AudioProductStrategy.getVolumeGroupIdForAudioAttributes(attributes,
/* fallbackOnDefault= */ false);
/* fallbackOnDefault= */ true);
}
/**