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

Commit f59d0a3a authored by Phil Burk's avatar Phil Burk Committed by Automerger Merge Worker
Browse files

Merge "BluetoothMidi: ignore reserved bit in header" into rvc-dev am: 576e2cc6

Change-Id: Iad6d11bd5713eeeddcc3caf871176134198f0c6b
parents 6c66b3d7 576e2cc6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -70,7 +70,9 @@ public class BluetoothPacketDecoder extends PacketDecoder {
        }

        byte header = buffer[0];
        if ((header & 0xC0) != 0x80) {
        // Check for the header bit 7.
        // Ignore the reserved bit 6.
        if ((header & 0x80) != 0x80) {
            Log.e(TAG, "packet does not start with header");
            return;
        }