Closed Bug 1107750 Opened 9 years ago Closed 9 years ago

(gonk-l) Light Sensor doesn't work

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.2+)

RESOLVED FIXED
2.2 S2 (19dec)
feature-b2g 2.2+

People

(Reporter: askeing, Assigned: viralwang)

References

Details

STR:
1. power on Nexus 5.
2. connect to Nexus 5 by marionette.
3. run following async script by marionette:
window.addEventListener('devicelight', function(event) {marionetteScriptFinished(event.value); });"

Excepted:
Return the value of devicelight.

Actual:
Reutrn None.
Hi Viral, Since you are working on sensor parts, I assign this bug to you.
If you think this is a wrong assignment, please let me know.
Assignee: nobody → vwang
***Current status, I can get value from marionette.

***step:
>>> :s
Swith to Async JS execution
a>> window.addEventListener('devicelight', function(event) { marionetteScriptFinished(event.value); });
33


============build info============
[20141218] local build
Build ID 20141218151450
Gaia Revision 58734e8a48157f99d5b733412b600c2e04c954fe
Gaia Date 2014-12-18 05:21:04
Gecko Revision n/a
Gecko Version 37.0a1
Device Name hammerhead
Firmware(Release) 5.0
Firmware(Incremental) eng.askeing.20141218.150855
Firmware Date Thu Dec 18 15:10:01 CST 2014
Bootloader HHZ12d
from https://github.com/mozilla-b2g/B2G
Depends on: 1112175
fixed by bug 1112175
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
feature-b2g: --- → 2.2+
Target Milestone: --- → 2.2 S2 (19dec)
You need to log in before you can comment on or make changes to this bug.