Merge "AudioManager: restore getVolumeGroupIdForAttributes behavior" into tm-qpr-dev am: 02cdf72ad3 am: 1c807fa62a

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

Change-Id: Idca13d893b672563606aa3a93bb4cfec20a71a6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Eric Laurent
2023-02-06 19:35:24 +00:00
committed by Automerger Merge Worker

View File

@@ -1422,7 +1422,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);
}
/**