Closed
Bug 983624
Opened 11 years ago
Closed 11 years ago
Device continues to vibrate after call missed
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:-)
RESOLVED
DUPLICATE
of bug 983626
blocking-b2g | - |
People
(Reporter: gerard-majax, Assigned: etienne)
References
Details
(Keywords: regression, Whiteboard: [systemsfe])
When receiving a call, the device starts to vibrate. It never stops.
Further calls received augment the vibration.
This happens since at least yesterday's build on my Nexus S, master.
Assignee | ||
Comment 1•11 years ago
|
||
Adding the log mentioned on IRC:
13:28 < gerard-majax__> E/GeckoConsole( 703): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://system.gaiamobile.org/js/dialer_ringer.js" line: 153}]
It's weird because this._player.pause() worked, but not this._player.currentTime = ... it seems.
Hey Paul, are we doing anything wrong?
Flags: needinfo?(paul)
Reporter | ||
Updated•11 years ago
|
Whiteboard: [systemsfe]
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Etienne Segonzac (:etienne) from comment #1)
> Adding the log mentioned on IRC:
> 13:28 < gerard-majax__> E/GeckoConsole( 703): [JavaScript Error:
> "InvalidStateError: An attempt was made to use an object that is not, or is
> no longer, usable" {file: "app://system.gaiamobile.org/js/dialer_ringer.js"
> line: 153}]
>
> It's weird because this._player.pause() worked, but not
> this._player.currentTime = ... it seems.
>
> Hey Paul, are we doing anything wrong?
I opened a separate bug on this: bug 983626
Applying you suggested fix on IRC makes the vibration stopped, but the InvalidStateError still happens.
FTR, the diff is:
> diff --git a/apps/system/js/dialer_ringer.js b/apps/system/js/dialer_ringer.js index 8194094..9cd3759 100644
> --- a/apps/system/js/dialer_ringer.js
> +++ b/apps/system/js/dialer_ringer.js
> @@ -149,9 +149,9 @@
>
> DialerRinger.prototype._stopAlerting = function dr_stopAlerting() {
> this._alerting = false;
> + window.clearInterval(this._vibrateInterval);
> this._player.pause();
> this._player.currentTime = 0;
> - window.clearInterval(this._vibrateInterval);
> };
>
> exports.DialerRinger = DialerRinger;
Reporter | ||
Updated•11 years ago
|
Depends on: fxos-papercuts
Reporter | ||
Updated•11 years ago
|
Blocks: fxos-papercuts
No longer depends on: fxos-papercuts
Reporter | ||
Comment 4•11 years ago
|
||
I suspect there is some race condition somewhere: this is reproducing on Nexus S but not on Desire Z, while both are running the same Gecko/Gaia.
Reporter | ||
Updated•11 years ago
|
Blocks: b2g-nexuss
Updated•11 years ago
|
blocking-b2g: 1.4? → 1.4+
Reporter | ||
Comment 6•11 years ago
|
||
I can't reproduce on my Peak also :(
Tested twice, cannot confirm - it works properly. After caller had terminated call the device stopped to vibrating.
Alcatel One Touch Fire production (got from T-mobile Poland)
B2G version: 1.4.0.0-prerelease master
Platform version: 30.0a1
Build Identifier: 20140314040202
Git commit info: 2014-03-13 17:48:43 ea9e23ab
Comment 8•11 years ago
|
||
blocking- - not proven to be reproducible on a production device.
blocking-b2g: 1.4+ → -
Reporter | ||
Comment 9•11 years ago
|
||
shadeimi, I know you are hacking on Nexus S. Could you help determining whether this comes from my device/profile or if its a generic issue on Nexus S ?
Flags: needinfo?(aniellob)
Reporter | ||
Comment 10•11 years ago
|
||
Will get fixed when bug 983626 lands
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(aniellob)
You need to log in
before you can comment on or make changes to this bug.
Description
•