Closed Bug 919868 Opened 11 years ago Closed 11 years ago

[B2G] [Settings] Wrong connection status for a connected device after unpairing another device

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 fixed)

RESOLVED FIXED
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- fixed

People

(Reporter: gyeh, Assigned: arthurcc)

References

Details

Attachments

(1 file)

Build info
* Gecko: v1.2, 85ead3614a3de104ca8b52c63a5b9b35c68feaa5
* Gaia: v1.2, 9d2150bd26ca5ff639114dfb0058d35ab871dcc0

STR
1. Turn on Bluetooth.
2. Connect to a Bluetooth headset (device A).
3. Check connection status of HFP and A2DP. ("Connected to phone/media audio")
3. Tap another paired Bluetooth headset (device B).
4. Tap "Unpair".

Expect result:
* Unpair with device B successfully.
* Connection status of device A shouldn't be changed.

Actual result:
* Unpair with device B successfully.
* The message of device A's connection status is changed to "Connected".
No longer depends on: 919861
Depends on: b2g-bluetooth-a2dp
No longer depends on: b2g-bluetooth-a2dp
Assignee: nobody → arthur.chen
Need to fix
blocking-b2g: koi? → koi+
Hi Arthur,

Do we have a WIP patch here or an estimate on when this bug going to be resolved ? I want to make sure we have the right convergence target milestone associated here, so this info will be very helpful.
Flags: needinfo?(arthur.chen)
Hi bhavana,
I am working on the bug. It is expected to be fixed within this week.
Flags: needinfo?(arthur.chen)
The root cause is that when refreshing paired list we did not update the current connection status of devices. We should do that to fix this issue.

Evelyn, could you help review the change? Thanks!
Attachment #817074 - Flags: review?(ehung)
Comment on attachment 817074 [details]
link to https://github.com/mozilla-b2g/gaia/pull/12851

r=me, thanks.
Attachment #817074 - Flags: review?(ehung) → review+
Thanks for reviewing.

master: https://github.com/mozilla-b2g/gaia/commit/90859ab4b0f56021e41129ae8b64672fbcc86908
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted 90859ab4b0f56021e41129ae8b64672fbcc86908 to:
v1.2: 14a4fda37e518aa2a7940678432163a22b7ffa57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: