Merge "AudioService: RotationHelper.forceUpdate fix" into tm-qpr-dev

This commit is contained in:
Shunkai Yao
2023-03-17 14:46:37 +00:00
committed by Android (Google) Code Review

View File

@@ -1731,7 +1731,9 @@ public class AudioService extends IAudioService.Stub
mSpatializerHelper.reset(/* featureEnabled */ mHasSpatializerEffect);
// Restore rotation information.
RotationHelper.forceUpdate();
if (mMonitorRotation) {
RotationHelper.forceUpdate();
}
onIndicateSystemReady();
// indicate the end of reconfiguration phase to audio HAL