Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setting for enabling/disabling orientation sensor use
If orientation sensor is available, mce uses it for generating user activity (delay automatic display blanking) and detecting device flip over gestures (snooze alarm, silence incoming call). Sometimes neither feature is desired, but there is no way to disable use of orientation sensor. Add disable/enable setting for using orientation sensor. By default the setting is enabled, but can be changed for example by installing hw specific mce configuration files or from command line mcetool --set-orientation-sensor-mode=<enabled|disabled> The setting persists over mce/device restarts. [mce] Add setting for enabling/disabling orientation sensor use. Fixes JB#27427
- Loading branch information
Showing
4 changed files
with
109 additions
and
6 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