Fix for #5 (IBeaconManufacturerData.calculateUUIDString(byte[]) bug)
This commit is contained in:
@@ -50,6 +50,9 @@ public class IBeaconUtils {
|
||||
}
|
||||
|
||||
final int intFromByte = ByteUtils.getIntFromByte(uuid[i]);
|
||||
if(intFromByte <= 0xF){
|
||||
sb.append('0');
|
||||
}
|
||||
sb.append(Integer.toHexString(intFromByte));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user