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

Commit 27720891 authored by Kamen Kirov's avatar Kamen Kirov Committed by android-build-merger
Browse files

Merge "Fix incorrect parsing of UVC interface descriptor" am: 74458cbd am: a05a0676

am: ece7d10d

Change-Id: Iac311c26de04c9625f4ba45d729cf8f16ec6d435
parents 04d064e9 ece7d10d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -177,11 +177,15 @@ public final class UsbDescriptorParser {
             * Audio Class Specific
             */
            case UsbDescriptor.DESCRIPTORTYPE_AUDIO_INTERFACE:
                if (mDeviceDescriptor.getDevClass() == UsbDescriptor.CLASSID_AUDIO) {
                    descriptor = UsbACInterface.allocDescriptor(this, stream, length, type);
                }
                break;

            case UsbDescriptor.DESCRIPTORTYPE_AUDIO_ENDPOINT:
                if (mDeviceDescriptor.getDevClass() == UsbDescriptor.CLASSID_AUDIO) {
                    descriptor = UsbACEndpoint.allocDescriptor(this, length, type);
                }
                break;

            default: