898385 Follow up: Remove orientation observer

RESOLVED FIXED

Status

Firefox OS
Gaia::System
P1
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: alive, Assigned: alive)

Tracking

({perf})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

+++ This bug was initially created as a clone of Bug #898385 +++

See https://bugzilla.mozilla.org/show_bug.cgi?id=840147#c41

The solution for 840147/877903 checks the orientation sensor 1 time per second.
If we apply the way giving a guess about landscape orientation we don't need to check the current device orientation periodically.
Created attachment 790017 [details]
https://github.com/mozilla-b2g/gaia/pull/11519

Remove inexistent js file reference.
Attachment #790017 - Flags: review?(timdream)
Why is this leo nominated?
status-b2g18: fixed → ---
status-b2g-v1.1hd: fixed → ---
tracking-b2g18: + → ---
Ya, should not block.
blocking-b2g: leo? → ---
Attachment #790017 - Flags: review?(timdream) → review+
master
https://github.com/mozilla-b2g/gaia/commit/b738fc0887014869d1234409929c9e60b0196f81
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.