Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac297b93 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6826141 from b197286f to rvc-qpr1-release

Change-Id: I1edc0fc381d204276f851ce1135955e06aaae9f8
parents 20dbdce1 b197286f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5652,7 +5652,7 @@ uint32_t AudioPolicyManager::setBeaconMute(bool mute) {
            sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
            setVolumeSourceMute(ttsVolumeSource, mute/*on*/, desc, 0 /*delay*/, DeviceTypeSet());
            const uint32_t latency = desc->latency() * 2;
            if (latency > maxLatency) {
            if (desc->isActive(latency * 2) && latency > maxLatency) {
                maxLatency = latency;
            }
        }