Closed Bug 737748 Opened 12 years ago Closed 12 years ago

Add a preference for controlling automatic screen orientation

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:-)

RESOLVED INVALID
blocking-basecamp -

People

(Reporter: cyu, Assigned: cyu)

Details

Attachments

(1 file, 1 obsolete file)

We need to add a preference (default disabled) for automatic screen rotation.
Comment on attachment 607892 [details] [diff] [review]
Add a preference for controlling automatic screen orientation

If the pref is false, we shouldn't try to create the sensor observer at all.  In this patch, we still turn on the sensor HW when the pref is off.
Attachment #607892 - Flags: review?(jones.chris.g)
Change to v1: don't init HW if preference value is false
Attachment #607892 - Attachment is obsolete: true
Attachment #608306 - Flags: review?(jones.chris.g)
Comment on attachment 608306 [details] [diff] [review]
Add a preference for controlling automatic screen orientation (v2)

Sorry for the review latency.
Attachment #608306 - Flags: review?(jones.chris.g) → review+
Does this patch still apply?  Can we get it into the tree?

I'm setting blocking-basecamp- but that doesn't mean it wouldn't be appreciated :)
blocking-basecamp: --- → -
Hi Andrew,

This patch doesn't apply now and is no longer necessary. Please close this bug. Thanks :).
Thanks, Cervantes.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: