Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options for tweaking orientation sensor usage #323

Merged
merged 1 commit into from Sep 18, 2015
Merged

Add options for tweaking orientation sensor usage #323

merged 1 commit into from Sep 18, 2015

Conversation

spiiroin
Copy link
Contributor

No description provided.

…s MER#1331

Some users would prefer to stop orientation changes from keeping
the display on. While it is possible to make this happen by disabling
orientation sensor usage, this also stops flipover gestures from
silencing calls/alarms.

Add separate settings for "orientation change is activity" and
"flipover gesture detection". If the already existing orientation
sensor master toggle is set to disabled, the feature specific
settings are ignored.

By default all three settings are enabled, and can be modified via
mcetool options:
  --set-orientation-change-is-activity=<enabled|disabled>
  --set-flipover-gesture-detection=<enabled|disabled>
  --set-orientation-sensor-mode=<enabled|disabled>

The values of the settings persists over mce / device restarts.

Also do light refactoring of sensor-gestures plugin.
@spiiroin
Copy link
Contributor Author

Rebased

spiiroin added a commit that referenced this pull request Sep 18, 2015
Add options for tweaking orientation sensor usage
@spiiroin spiiroin merged commit 5c20c76 into nemomobile:master Sep 18, 2015
@spiiroin spiiroin deleted the mer1331_orientation_toggles branch September 18, 2015 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant