Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[orientation] Add options for tweaking orientation sensor usage. Fixe…
…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.
- Loading branch information
Showing
6 changed files
with
370 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.