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

Commit 2ed86758 authored by Paul Mclean's avatar Paul Mclean Committed by android-build-merger
Browse files

Merge "Revert "Fix incorrect parsing of UVC interface descriptor"" am: 8863583f am: 40f44f5d

am: e64fd38c

Change-Id: Id2e5ea042d2ac5660e876c0a551a6c458fe626fe
parents ae045526 e64fd38c
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -177,15 +177,11 @@ 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: