The default bug view has changed. See this FAQ.

Add type lookup fallback for emulator

RESOLVED FIXED in mozilla14

Status

()

Core
Hardware Abstraction Layer (HAL)
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mwu, Assigned: mwu)

Tracking

unspecified
mozilla14
All
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 616281 [details] [diff] [review]
Add a sensor index fallback

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)

Updated

5 years ago
Attachment #616281 - Flags: review?(gal) → review+
(Assignee)

Comment 1

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/e4a3b7619f4d
Target Milestone: --- → mozilla14
https://hg.mozilla.org/mozilla-central/rev/e4a3b7619f4d
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.