Closed Bug 979426 Opened 6 years ago Closed 6 years ago

Remove all mozTelephony access on the critical path to alerting of a new incoming call

Categories

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

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: etienne, Unassigned)

References

Details

We have some old code, probably to prevent races here [1] in the dialer app window.

And then we go and get the call object here [2] in the call screen.

But theoretically, the system message should give us enough information to know if we need to ring/vibrate, without going through the first (costly) navigator.mozTelephony access.


[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/dialer/js/dialer.js#L123-127
[2] https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/dialer/js/calls_handler.js#L14
Blocks: 973596
Etienne, please nominate for 1.3t if you end up finding that this is worth it.
see bug 980984
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.