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

Commit 7ef3c89a authored by Rahul Arya's avatar Rahul Arya
Browse files

[Connection Manager] Fix IsPublic() method

Bug: 272572974
Test: compiles
Change-Id: I9dfdca7c050f4e6d670bcfe0f77e1c53f82f2490
parent 800ea4b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ struct tBLE_BD_ADDR {
  bool IsAddressResolvable() const {
    return ((bda.address)[0] & kResolvableAddressMask) == kResolvableAddressMsb;
  }
  bool IsPublic() const { return type & 0x01; }
  bool IsPublic() const { return !(type & 0x01); }
  bool IsResolvablePrivateAddress() const {
    return IsAddressResolvable() && IsRandomDeviceType();
  }