(gonk-l) Light Sensor doesn't work

RESOLVED FIXED in 2.2 S2 (19dec)

Status

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: askeing, Assigned: viralwang)

Tracking

unspecified
2.2 S2 (19dec)
All
Gonk (Firefox OS)
Dependency tree / graph

Firefox Tracking Flags

(feature-b2g:2.2+)

Details

Reporter

Description

5 years ago
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
Reporter

Updated

5 years ago
Depends on: 1112175
Reporter

Comment 3

5 years ago
fixed by bug 1112175
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
feature-b2g: --- → 2.2+

Updated

5 years ago
Target Milestone: --- → 2.2 S2 (19dec)
You need to log in before you can comment on or make changes to this bug.