-
Bug
-
Resolution: Fixed
-
Major
-
master
When issuing multiple requests to bluetooth service, the bluetooth settings dialog starts duplicating entries.
The issue should easily be reproduced doing the following:
Export a phone's bluetooth address to a variable in the following way
export btaddr=dev_01_23_45_67_89_0A
Then run the following oneliner a couple of times:
afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager pair "{'device': '$btaddr'}" && \ afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager connect "{'device': '$btaddr'}" && \ afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager disconnect "{'device': '$btaddr'}" && \ afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager remove_device "{'device': '$btaddr'}"
and after each run accept the pairing request on the phone.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
24812,1 | add checks to avoid duplicates in qtappfw-bt model | master | src/libqtappfw | Status: MERGED | +2 | 0 |
24869,2 | libqtappfw: update SRCREV | master | AGL/meta-agl | Status: MERGED | +2 | +1 |