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

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

Merge cherrypicks of [10332100, 10332159, 10332010, 10331346, 10331347, 10331348] into rvc-release

Change-Id: Iee58f88709160c90625ef9dd32901c33985fac1f
parents c9670c55 d3e9770b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -135,8 +135,10 @@ public:
        }
        DeviceVector deviceList =
            mSupportedDevices.getDevicesFromTypes(deviceTypes);
        if (!deviceList.empty()) {
            return deviceList.itemAt(0)->hasCurrentEncodedFormat();
        for (const auto& device : deviceList) {
            if (device->hasCurrentEncodedFormat()) {
                return true;
            }
        }
        return false;
    }