Paired device may be listed more than once

RESOLVED FIXED in 1.3 Sprint 5 - 11/22

Status

Firefox OS
Bluetooth
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: ericchou, Assigned: ericchou)

Tracking

unspecified
1.3 Sprint 5 - 11/22
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
= STR =

1. Use B2G device to pair with another device (Dev A).
2. Make sure they are paired
3. Delete link key from Dev A
4. Start pairing process from Dev A
5. Again, make sure they are paired.

= Expected Result =
Only one 'Dev A' would be shown on the Paired Devices section.

= Actual Result =
Two 'Dev A' would be seen.
(Assignee)

Comment 1

5 years ago
Currently we won't check if the newly paired device has been already paired. The patch is almost ready.
Assignee: nobody → echou
(Assignee)

Comment 2

5 years ago
Created attachment 8334452 [details] [diff] [review]
patch 1: v1: fix

* Don't fire PropertyChanged if the device address has been already in the array.
Attachment #8334452 - Flags: review?(gyeh)
Comment on attachment 8334452 [details] [diff] [review]
patch 1: v1: fix

Review of attachment 8334452 [details] [diff] [review]:
-----------------------------------------------------------------

Looks great to me.
Attachment #8334452 - Flags: review?(gyeh) → review+
https://hg.mozilla.org/mozilla-central/rev/8dbcc46d8741
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 5 - 11/22
You need to log in before you can comment on or make changes to this bug.