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

Commit bdf81a03 authored by Arman Uguray's avatar Arman Uguray
Browse files

service: Improve creating UUIDs from string

- When UUIDs are initialized from a 128-bit UUID, they are now parsed
  from the canonical UUID string representation.

- Invalid strings now cause the UUID to be marked as invalid, rather than
  causing a crash.

- Input such as "0x180d" is now valid.

- Added the GetShortestRepresentationSize() method to use in determining whether
  a UUID is within Base BT SIG UUID domain.

Bug: 24247700

Change-Id: Id28255ec963bc6da27a8e871598016d41920b688
parent 83d87f79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment