Closed Bug 915070 Opened 11 years ago Closed 11 years ago

Gaia work needs to be added for responding AudioChannnelManager.volumeControlChannel Web API.

Categories

(Firefox OS Graveyard :: AudioChannel, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mchen, Assigned: alive)

References

Details

Attachments

(1 file)

Bug 855655 introduced a new Web API - AudioChannnelManager.volumeControlChannel for app (per app context) to choose their volume control channel while pressing HW volume keys. (ex: If default channel is "ringer & notification", and a music app can use this API to change default channel as "content")

And this bug is created for Gaia::System app::sound_manager.js. Who needs to listen the new mozChromeEvent - "default-volume-channel-changed" then apply to the logic while pressing hw keys.

The "default-volume-channel-changed" will contain 

  normal, content, notification, alarm, telephony, ringer, unknow
Hi Alive,

Could you help to do this follow work from bug 855655? Thanks.
Flags: needinfo?(alive)
Assignee: nobody → alive
Flags: needinfo?(alive)
Set default volume control channel
Attachment #804074 - Flags: review?(timdream)
Attachment #804074 - Flags: review?(timdream) → review+
Depends on: 855655
Add comments and merged.
https://github.com/mozilla-b2g/gaia/commit/d7274b7d9e264de8d3e279c1093a79ce76933279
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 894859
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: