Closed Bug 746728 Opened 7 years ago Closed 7 years ago

Add type lookup fallback for emulator

Categories

(Core :: Hardware Abstraction Layer (HAL), defect)

All
Gonk (Firefox OS)
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: mwu, Assigned: mwu)

Details

Attachments

(1 file)

hardware/sensors.h provides us with a type field in sensors_event_t and we use it. This doesn't work on the emulator because that implementation never fills it in. The Android sensor service never checks that field so the qemu impl gets away with leaving it zero.
Attachment #616281 - Flags: review?(gal)
Attachment #616281 - Flags: review?(gal) → review+
https://hg.mozilla.org/mozilla-central/rev/e4a3b7619f4d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.