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

Commit 4b98ddb6 authored by Myles Watson's avatar Myles Watson
Browse files

AclManager doesn't need an AddressType

Bug: 145832107
Tag: #gd-refactor
Test: cert/run --host
Change-Id: Ia9981c7a00edb175ced7aeb2b92f86db74f73a4e
parent 6847979f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -38,8 +38,7 @@ class PyAclManagerAclConnection(IEventStream, Closable):
            remote_addr_bytes = bytes(remote_addr, 'utf8') if type(remote_addr) is str else bytes(remote_addr)
            self.connection_event_stream = EventStream(
                self.device.hci_acl_manager.CreateConnection(
                    acl_manager_facade.ConnectionMsg(
                        address_type=int(hci_packets.AddressType.PUBLIC_DEVICE_ADDRESS), address=remote_addr_bytes)))
                    acl_manager_facade.ConnectionMsg(address=remote_addr_bytes)))
        else:
            self.connection_event_stream = None

+1 −2
Original line number Diff line number Diff line
@@ -19,8 +19,7 @@ message HandleMsg {
}

message ConnectionMsg {
  uint32 address_type = 1;
  bytes address = 2;
  bytes address = 1;
}

message ConnectionEvent {