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

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

Merge "Fix advertise data length parsing"

parents af66394a a8c9c053
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++];