Closed Bug 1165048 Opened 6 years ago Closed 6 years ago
Music playback is getting stopped and is not resumed when modem is restarted
This is happening on a Lollipop prototype being used by CAF. When the modem is restarted on this device the audio media framework gets hosed and no more audio clips can be played until the phone is restarted. The reason is that in this device the gonk system process attempts to update audio settings. However, we currently only allow the radio and bluetooth processes to update audio settings . This is easily fixed by granting audio settings permission to the system process too (AID_SYSTEM).  https://mxr.mozilla.org/mozilla-central/source/widget/gonk/GonkPermission.cpp#123
blocking-b2g: --- → 2.2?
Hsin-Yi, are you ok with Diego's suggestion to grant audio settings permission to System?
(In reply to Dylan Oliver [:doliver] from comment #1) > Hsin-Yi, are you ok with Diego's suggestion to grant audio settings > permission to System? It looks fine to me, but Michael seems the right reviewer.
Flags: needinfo?(htsai) → needinfo?(mwu)
Steven, what do you think for this?
(In reply to Ken Chang[:ken] from comment #3) > Steven, what do you think for this? I think it's OK, but we need mwu's approval.
Attachment #8607716 - Flags: review?(mwu)
Assignee: nobody → dwilson
Status: NEW → ASSIGNED
Try results look good to me https://treeherder.mozilla.org/#/jobs?repo=try&revision=698b309593de
Comment on attachment 8607716 [details] [diff] [review] Add permission to modify audio settings to system process NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 976839 User impact if declined: Bluetooth will not recover gracefully after a bluetooth subsystem crash. Testing completed: Force crashed the bluetooth subsystem on Flame Kitkat and a Lollipop prototype device. My bluetooth headset reconnected correctly. Risk to taking this patch (and alternatives if risky): There are no obvious risks I can identify. String or UUID changes made by this patch: None
Attachment #8607716 - Flags: approval-mozilla-b2g37?
Attachment #8607716 - Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
You need to log in before you can comment on or make changes to this bug.