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

Commit c9b489e4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix advertise data length parsing"

parents ecd86bf5 ce0e4910
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2311,7 +2311,7 @@ public class GattService extends ProfileService {

        int offset = 0;
        while(offset < (adv_data.length-2)) {
            int len = adv_data[offset++];
            int len = Byte.toUnsignedInt(adv_data[offset++]);
            if (len == 0) break;

            int type = adv_data[offset++];