Closed
Bug 1014422
Opened 11 years ago
Closed 11 years ago
[FirefoxOS_v1.4]Playing music in Bluetooth model, answer to an incoming phone and then hand up after a while,the music pause after the phone
Categories
(Firefox OS Graveyard :: Gaia::Music, defect)
Tracking
(b2g-v1.4 affected)
RESOLVED
DUPLICATE
of bug 1006413
Tracking | Status | |
---|---|---|
b2g-v1.4 | --- | affected |
People
(Reporter: jingmei.zhang, Unassigned)
Details
(Whiteboard: [sprd305192])
1. Title : Playing music in Bluetooth model, answer to an incoming phone and then hand up after a while,the music pause after the phone.
2. Precondition : Have music files/songs in device, Set the device into Bluetooth mode
3. Tester's Action : Launch music app ->select any song and play->when we get a incoming call->answer to the call and music paused->hand up the call->the music pauses to play .
4.Expected Result:the music continue to play after the call
Reporter | ||
Comment 1•11 years ago
|
||
Code analysis as follows:
Connect to Bluetooth Headset and play a song in the phone
1 when the call comes in:
Case'mozinterruptbegin':
This.playStatus = INTERRUPT_BEGIN;
Trigger the mozinterruptbegin event, modify the value of playStatus.
2.After we press the pick up button:
Enter the pause function, and modify the value of this._statusBeforeSCO:
This._statusBeforeSCO = PlayerView.playStatus;
At this time this._statusBeforeSCO==mozinterruptbegin.
3.The hang up button is pressed:
Enter the playpause function:
If (this._statusBeforeSCO = = = PLAYSTATUS_PLAYING)
PlayerView.play ();
Else
PlayerView.pause ();
According to the code execution in process of 2,(this._statusBeforeSCO = = = PLAYSTATUS_PLAYING) returns false,then it go to PlayerView.pause (), the music pauses.
Flags: needinfo?(ttsai)
Flags: needinfo?(styang)
Comment 3•11 years ago
|
||
Adding qawanted to see if we can reproduce and check for regression
Keywords: qawanted
Comment 5•11 years ago
|
||
Able to repro on Buri 1.4 mozilla RIL
Build ID: 20140520000201
Gecko: https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/95be84248033
Gaia: 17b102ee8d9a724b62285547cc5f1c5d30bfb01c
Platform Version: 30.0
Firmware Version: V1.2-device.cfg
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(james.zhang)
Comment 6•11 years ago
|
||
The same as bug 1002897.
Reporter | ||
Comment 7•11 years ago
|
||
If the patch in bug 1002897 is work in 1.4?
Comment 8•11 years ago
|
||
(In reply to James Zhang from comment #6)
> The same as bug 1002897.
No it definitely is not. That's for low end devices only.
Pretty sure there's a bug already on file for this, but I can't find it right now. IIRC, I don't think this was a regression to my understanding, but the 1.3 testing will confirm this or not.
Whiteboard: [sprd305192] → [sprd305192] DUPEME
Reporter | ||
Comment 9•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #8)
> (In reply to James Zhang from comment #6)
> > The same as bug 1002897.
>
> No it definitely is not. That's for low end devices only.
>
> Pretty sure there's a bug already on file for this, but I can't find it
> right now. IIRC, I don't think this was a regression to my understanding,
> but the 1.3 testing will confirm this or not.
dear Jason:
Would you please provide some clues for the already on file bug?
Flags: needinfo?(jsmith)
Comment 10•11 years ago
|
||
As I said, I know it's on file, but I can't find it at the moment.
Flags: needinfo?(jsmith)
Comment 11•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #10)
> As I said, I know it's on file, but I can't find it at the moment.
this one? https://bugzilla.mozilla.org/show_bug.cgi?id=1006413 (I have also seen variations of this issue in different bugs)
Comment 12•11 years ago
|
||
Yeah that's definitely one of them.
Status: NEW → RESOLVED
blocking-b2g: 1.4? → ---
Closed: 11 years ago
Keywords: qawanted
Resolution: --- → DUPLICATE
Whiteboard: [sprd305192] DUPEME → [sprd305192]
Updated•11 years ago
|
Flags: needinfo?(ttsai)
Updated•10 years ago
|
Flags: needinfo?(styang)
You need to log in
before you can comment on or make changes to this bug.
Description
•