Closed
Bug 847227
Opened 11 years ago
Closed 11 years ago
light sensor doesn't report min/max values
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gal, Assigned: dougt)
Details
Attachments
(1 file)
3.49 KB,
patch
|
Details | Diff | Splinter Review |
The max value seems 10240 on most devices, but still.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Hey doug could you drive this in please? Not needed for 1.0.1 though
Assignee: nobody → doug.turner
Reporter | ||
Comment 3•11 years ago
|
||
I am about to add some code to gaia that hacks around this and should be fixed when this lands.
Assignee | ||
Comment 4•11 years ago
|
||
Andreas, This API doesn't expose min or max, just ambient light level: http://www.w3.org/TR/ambient-light/ We probably can suggest these, but I am not sure what the value really is. Instead, let me ask -- What are you trying to do? Would using proximity make more sense (which should already have min and max defined?) http://www.w3.org/TR/2012/WD-proximity-20120712/#idl-def-DeviceProximityEvent
Assignee | ||
Comment 5•11 years ago
|
||
Android also does not expose min and max -- just exposing lux. http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_LIGHT
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•