[Bluetooth] Connected bluetooth headphones do not fully re-connect after restarting device

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
4 years ago
2 years ago

People

(Reporter: jmitchell, Assigned: shawnjohnjr)

Tracking

({regression})

unspecified
ARM
Gonk (Firefox OS)
regression

Firefox Tracking Flags

(b2g-v2.0 unaffected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)

Details

(Whiteboard: [3.0-Daily-Testing])

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8575640 [details]
logcat_20150310_1531.txt

Description:
Bluetooth headphones can be used to listen to music or dialer app activity. When you have a pair of them connected there is a special icon in the notification bar with the bluetooth symbol set within headphones. When you have a pair connected and restart the phone it will re-establish connection (Bluetooth app shows connected, can hear media through it), however, the bluetooth headset icon is no longer in the status-bar. Furthermore there are additional 'issues' such as if you were to then disconnect the headphones (via the bluetooth menu) currently playing music is not paused but instead then switches to the device speakers. This does not happen until after the restart, normally music will pause when disconnecting the bluetooth headset. 

Repro Steps:
1) Update a Flame to 20150310010227
2) Enable Bluetooth and connect to headphones
3) Launch music and play some loud, angry music through the headphones (ensure the BT Headphone icon is in the statusbar)
4) Long press the power button and select restart
5) Once restarted, observe the status bar ( BT headphone is missing)
6) Re-launch the music app and re-start some music (it is heard through BT headphones)
7) Launch Settings > Bluetooth
8) Tap the entry for the headphones and select disconnect (loud, angry music will startle your co-workers)


Actual:
Bluetooth headphone errors / issues arise when resetting the the device


Expected:
Bluetooth devices will function the same after a device reset

Environmental Variables:
Device: Flame Master
Build ID: 20150310010227
Gaia: 2fb09da0cb9cefad9c6e40f57533fafda6d12557
Gecko: 6686aacf006f
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 39.0a1 (Master)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0

Repro frequency: 8/8
See attached: logcat
(Reporter)

Comment 1

4 years ago
This issue also occurs in 2.2 and 2.1 

Device: Flame 2.2 (KK - Nightly - Full Flash - 319mem)
Build ID: 20150310002536
Gaia: 166491b92278dc9e648f8d49ab02d9ca00d74421
Gecko: 1cda026f8996
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 37.0 (Master)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

Device: Flame 2.1 (KK - Nightly - Full Flash - 319mem)
Build ID: 20150309001219
Gaia: ea97a87048a4c1e2a479bbea1d75e0a182b2c4c9
Gecko: 0443f2e951dc
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 34.0 (2.1)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

----------------------------------------------------------------------------------

This issue does not occur in 2.0 

Actual Results: After restarting the phone the proper bluetooth headphone icon appears in the notification bar. Additionally, selecting disconnect from the BT menu will cause the currently playing music to pause. 

Device: Flame 2.0 (KK - Nightly - Full Flash - 319mem)
Build ID: 20150309000203
Gaia: 8463d1c9142f32c8ea175048dac52e41620443ce
Gecko: 9399de0723a0
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 32.0 (2.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
I think this is the same issue as bug 1130288...
My mistake, this might not be that bug at all.  Will investigate along with the verification of 2.2 landing.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga)
Hi Ben, Could someone help to check this, thank you.
Flags: needinfo?(btian)

Comment 5

3 years ago
Joshua, two questions:
1) Which BT headset do you use?
2) You expect the connection restores immediately after phone reboots, right?

I use the latest Flame-KK (20150521160241) with SONY MW600 BT headset. In repro step 6 the music outputs from phone speaker instead of BT headset, and in the connection restores in step 7. The bug may depend on whether BT headset re-connects to phone automatically.

> Repro Steps:
> 1) Update a Flame to 20150310010227
> 2) Enable Bluetooth and connect to headphones
> 3) Launch music and play some loud, angry music through the headphones
> (ensure the BT Headphone icon is in the statusbar)
> 4) Long press the power button and select restart
> 5) Once restarted, observe the status bar ( BT headphone is missing)
> 6) Re-launch the music app and re-start some music (it is heard through BT
> headphones)
> 7) Launch Settings > Bluetooth
> 8) Tap the entry for the headphones and select disconnect (loud, angry music
> will startle your co-workers)
> 
> 
> Actual:
> Bluetooth headphone errors / issues arise when resetting the the device
> 
> 
> Expected:
> Bluetooth devices will function the same after a device reset
Flags: needinfo?(btian)
Repro Steps:
1) Flash the phone
2) Enable Bluetooth and connect to headphones
3) Launch music and play
4) Long press the power button and select restart
5) Once restarted, observe the status bar
Failed here: BT headset icon won't show up
6) Re-launch the music app and re-start some music
Failed here: BT headset icon didn't show up, but music will play thru bt headset
7) Launch Settings > Bluetooth
8) Tap the entry for the headphones and select disconnect
*It means that you need to disconnect before you can hear the music from the device

It might be either BT gecko didn't report current status right or gaia didn't display the status right.
Flags: needinfo?(btian)
Build ID               20150521162503
Gaia Revision          8099d4fbdcc659d3f6a75e98346a1214cca26802
Gaia Date              2015-05-21 14:39:42
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/fd7b06b22d00
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150521.200447
Firmware Date          Thu May 21 20:05:01 EDT 2015
Bootloader             L1TC100118D0

Comment 8

3 years ago
Walter,

What do you ni? me for? Also my questions in comment 5 remain unanswered.

(In reply to Walter Chen[:ypwalter][:wachen] from comment #6)
> Repro Steps:
> 1) Flash the phone
> 2) Enable Bluetooth and connect to headphones
> 3) Launch music and play
> 4) Long press the power button and select restart
> 5) Once restarted, observe the status bar
> Failed here: BT headset icon won't show up
> 6) Re-launch the music app and re-start some music
> Failed here: BT headset icon didn't show up, but music will play thru bt
> headset
> 7) Launch Settings > Bluetooth
> 8) Tap the entry for the headphones and select disconnect
> *It means that you need to disconnect before you can hear the music from the
> device
> 
> It might be either BT gecko didn't report current status right or gaia
> didn't display the status right.
Flags: needinfo?(btian) → needinfo?(wachen)
No, I answered you already.You were trying to guess what did he mean. However, you may not try it once?

I told you that:
It might be either BT gecko didn't report current status right or gaia didn't display the status right.

The connection between device and headset restored, but the icon didn't show up.
It's either that the icon should showed up  or the connection needed to be disconnected.
Flags: needinfo?(wachen)
I was using jabra.
Assignee: nobody → shuang
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.