Closed
Bug 891481
Opened 11 years ago
Closed 11 years ago
(jb-gonk) Supporting SENSOR_ACCELERATION to calculate orientation in gecko
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 788975
People
(Reporter: tkundu, Assigned: tkundu)
References
Details
Currently Gecko uses SENSOR_ORIENTATION to calculate orientation.
But SENSOR_ORIENTATION has become obsolete in android (http://developer.android.com/reference/android/hardware/Sensor.html) and android is not using that anymore.
Android Jellybean has better orientation logic which is derived using SENSOR_TYPE_ACCELEROMETER HAL events. So we want to port android orientation calculation logic in gecko and we also want gecko to use SENSOR_TYPE_ACCELEROMETER for this calculation.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → tkundu
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
Please also note that SENSOR_TYPE_ORIENTATION is known to use more power. So it is not good to use it for orientation.
Updated•11 years ago
|
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•