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

Commit 70bccfaa authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary spatial audio initialization" into udc-qpr-dev

parents d04a2b2c db919928
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -541,7 +541,6 @@ public class SpatializerHelper {
        }
        }
        loglogi("addCompatibleAudioDevice: dev=" + ada);
        loglogi("addCompatibleAudioDevice: dev=" + ada);
        final AdiDeviceState deviceState = findDeviceStateForAudioDeviceAttributes(ada);
        final AdiDeviceState deviceState = findDeviceStateForAudioDeviceAttributes(ada);
        initSAState(deviceState);
        AdiDeviceState updatedDevice = null; // non-null on update.
        AdiDeviceState updatedDevice = null; // non-null on update.
        if (deviceState != null) {
        if (deviceState != null) {
            if (forceEnable && !deviceState.isSAEnabled()) {
            if (forceEnable && !deviceState.isSAEnabled()) {