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

Commit aa80951a authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Android (Google) Code Review
Browse files

Merge "AudioPolicy: remove extraneous parentheses"

parents 30f4dfaf 5c233f8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -515,7 +515,7 @@ audio_devices_t Engine::getDeviceForStrategy(routing_strategy strategy) const
        if (device2 == AUDIO_DEVICE_NONE) {
        if (device2 == AUDIO_DEVICE_NONE) {
            device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_WIRED_HEADPHONE;
            device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_WIRED_HEADPHONE;
        }
        }
        if ((device2 == AUDIO_DEVICE_NONE)) {
        if (device2 == AUDIO_DEVICE_NONE) {
            device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_LINE;
            device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_LINE;
        }
        }
        if (device2 == AUDIO_DEVICE_NONE) {
        if (device2 == AUDIO_DEVICE_NONE) {