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

Commit 5f9db026 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 13034684 from 62a111a6 to 25Q2-release

Change-Id: I1ba1afe3aacc1afc1cff0acc2658ace8b1268c39
parents d30c5f10 62a111a6
Loading
Loading
Loading
Loading
+29 −33
Original line number Diff line number Diff line
@@ -8398,7 +8398,6 @@ float AudioPolicyManager::adjustDeviceAttenuationForAbsVolume(IVolumeCurves &cur
    device_category deviceCategory = Volume::getDeviceCategory({volumeDevice});
    float volumeDb = curves.volIndexToDb(deviceCategory, index);

    if (com_android_media_audio_abs_volume_index_fix()) {
    const auto it = mAbsoluteVolumeDrivingStreams.find(volumeDevice);
    if (it != mAbsoluteVolumeDrivingStreams.end()) {
        audio_attributes_t attributesToDriveAbs = it->second;
@@ -8430,9 +8429,6 @@ float AudioPolicyManager::adjustDeviceAttenuationForAbsVolume(IVolumeCurves &cur
        }
    }
    return volumeDb;
    } else {
        return volumeDb;
    }
}

float AudioPolicyManager::computeVolume(IVolumeCurves &curves,