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

Skip to content
Commit d908e7bd authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

Floss: Workaround D-Bus timing

Under D-Bus spec, when a service announces an availability of an
Interface via InterfacesAdded signal, it signifies that it is ready to
accept calls on that interface. However, it seems that `dbus-rs` library
does not guarantee the readiness of accepting calls after emitting
InterfacesAdded.

This is a temporary workaround to wait for a certain amount before
making method calls after receiving InterfacesAdded of btadapterd's
Suspend API.

Bug: 224606285
Tag: #floss
Test: Manual - Enabling adapter should not crash btmanagerd

Change-Id: Iad6a932e6d4cf99dc6857b015052405f1879c568
parent f6cd7254
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