Closed
Bug 837477
Opened 12 years ago
Closed 12 years ago
Cannot lower volume of camera shutter sound
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:-, b2g18+ fixed)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: overholt, Assigned: baku)
References
Details
Attachments
(1 file, 1 obsolete file)
910 bytes,
patch
|
alive
:
review+
sicking
:
feedback+
|
Details | Diff | Splinter Review |
The camera shutter sound (see [1] before you say that this is the law :) ) still plays very loudly when the volume that I can change with the hardware buttons while on the home screen (Jonas says it's the ringer volume only) is at zero. My Android phone mutes its camera shutter sound when I have the phone volume at zero.
Unagi
2013-01-31 nightly build
[1]
http://android.stackexchange.com/questions/32442/jurisdictions-where-camera-shutter-sound-is-mandated-by-law
Comment 1•12 years ago
|
||
Is it adjustable or only could be muted? My android phone's camera is not mutable nor adjustable.
Depends on: 819842
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #1)
> Is it adjustable or only could be muted? My android phone's camera is not
> mutable nor adjustable.
My android phone allows its camera "shutter" volume to be adjusted *and* muted. I have a Galaxy Nexus running Jelly Bean.
Assignee | ||
Comment 3•12 years ago
|
||
Currently the shutter is set to use 'public notification' audio channel.
Probably we should just change it to 'notification'.
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #709683 -
Flags: review?(dale)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → amarchesini
Comment 5•12 years ago
|
||
Comment on attachment 709683 [details] [diff] [review]
patch
Review of attachment 709683 [details] [diff] [review]:
-----------------------------------------------------------------
I believe you forget the permission in manifest.
Also, system app has a copy of camera app in run time.
Is it to say we abandon the publicnotification channel forever?
Attachment #709683 -
Flags: review?(dale)
Attachment #709683 -
Flags: review-
Attachment #709683 -
Flags: feedback?(jonas)
Comment 6•12 years ago
|
||
Is it possible that we link publicnotification volume with notification one (In Gaia)?
And we add a new pref to control whether this link is existing or not.
So for partner's point of view, they can decide this behavior by themselves.
1. Link public with notification?
2. public can't be muted?
Comment 7•12 years ago
|
||
> Also, system app has a copy of camera app in run time.
I dont know if thats what you mean but just a heads up that doesnt mean there needs to be any changes in the homescreen apart from permissions, the app is copied at build time
Assignee | ||
Comment 8•12 years ago
|
||
Where else do we use public notifications?
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #709683 -
Attachment is obsolete: true
Attachment #709683 -
Flags: feedback?(jonas)
Attachment #710097 -
Flags: review?(alive)
Attachment #710097 -
Flags: feedback?(jonas)
Updated•12 years ago
|
blocking-b2g: tef? → -
tracking-b2g18:
--- → +
Reporter | ||
Comment 10•12 years ago
|
||
I realized you can turn this sound off entirely in the settings so I'm less concerned about this :)
Comment on attachment 710097 [details] [diff] [review]
patch b
Review of attachment 710097 [details] [diff] [review]:
-----------------------------------------------------------------
This is fine with me. Does it affect if we play the audio through headphones and/or speaker? I.e. do we have different policies for "publicnotification" vs. "notification"?
If so an option would be to make "publicnotification" and "notifiaction" use the same volume setting.
Attachment #710097 -
Flags: feedback?(jonas) → feedback+
Comment 12•12 years ago
|
||
The notification & publicnotification will all go through speaker & headset. But in Android audio policy there is a property called ro.camera.sound.forced, this is used to decode whether shutter sound can be muted or not. So I suggest to keep shutter sound on publicnotification channel. And just link with notification's volume.
Comment 13•12 years ago
|
||
Comment on attachment 710097 [details] [diff] [review]
patch b
Review of attachment 710097 [details] [diff] [review]:
-----------------------------------------------------------------
r=me if you also remove public-notification channel permission in system app.
It's just for the clone of camera app to be a secure camera when phone lock is on.
Attachment #710097 -
Flags: review?(alive) → review+
Assignee | ||
Comment 14•12 years ago
|
||
Keywords: checkin-needed
Updated•12 years ago
|
Component: General → Gaia
Comment 15•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Keywords: checkin-needed
Comment 16•12 years ago
|
||
Uplifted commit e06e9244dc7acc03cf4c08c1c49496eed789eb91 as:
v1-train: abfede404bb3c717f33d9c609464f8cf52504edf
status-b2g18:
--- → fixed
Comment 17•12 years ago
|
||
Was this fix only concerned with setting the correct audio channel type (i.e. from 'publicnotification' to 'notification')?
The 'notification' audio channel doesn't seem to be muted when volume is set to 0 (either from hardware buttons or Settings > Sounds > Ringer & Notifications slider) on latest master (00fdfe0), thus the shutter sound is played loudly regardless of the volume level.
Flags: needinfo?(alive)
Comment 18•12 years ago
|
||
:mihai, could this be also related to Bug 863294 ?
Comment 19•12 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #18)
> :mihai, could this be also related to Bug 863294 ?
Julien, thanks for pointing this out, it is indeed related. I think the volume for all sounds that are played through the 'notification' channel is not properly handled, and most probably the fix for bug 819842 will solve this.
Comment 20•12 years ago
|
||
(In reply to Mihai Cirlanaru [:mcirlanaru] from comment #17)
> Was this fix only concerned with setting the correct audio channel type
> (i.e. from 'publicnotification' to 'notification')?
>
> The 'notification' audio channel doesn't seem to be muted when volume is set
> to 0 (either from hardware buttons or Settings > Sounds > Ringer &
> Notifications slider) on latest master (00fdfe0), thus the shutter sound is
> played loudly regardless of the volume level.
That sounds really strange with this patch! After moving to notification channel it should be muted as well as you make the volume down to 0.
Flags: needinfo?(alive)
You need to log in
before you can comment on or make changes to this bug.
Description
•