Closed Bug 1197689 Opened 5 years ago Closed 5 years ago

AudioChannelManager uses unnecessary sync IPC in ctor

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
feature-b2g 2.5+
Tracking Status
firefox43 --- fixed

People

(Reporter: kanru, Assigned: kanru)

References

Details

Attachments

(1 file)

It should only call hal::GetCurrentSwitchState if it hasn't received any headphones notifications and absolutely need the value.
Blocks: 1194651
Attached patch patchSplinter Review
Assignee: nobody → kchen
Attachment #8651638 - Flags: review?(amarchesini)
Comment on attachment 8651638 [details] [diff] [review]
patch

Review of attachment 8651638 [details] [diff] [review]:
-----------------------------------------------------------------

perfect. Thanks.
Attachment #8651638 - Flags: review?(amarchesini) → review+
https://hg.mozilla.org/mozilla-central/rev/ff5773432b23
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Blocks: 1180696
feature-b2g: --- → 2.5+
You need to log in before you can comment on or make changes to this bug.