Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop initial orientation reporting from triggering flip over gestures
If device was face-up the last time orientation sensor was enabled, sensord can report and mce assume that it is still face-up when the sensor is powered up the next time. This can make it look like the device were flipped over during sensor startup, which then silences incoming call / snoozes alarm (if device is face-down and proximity sensor is not blocking display & sensor power up). Make mce forget orientation sensor state altogether when the sensor is stopped. And make sensor-gestures plugin wait a bit longer before accepting face-up immediately after sensor power up. [mce] Stop initial orientation reporting from triggering flip over gestures. Fixes NEMO#786
- Loading branch information
Showing
2 changed files
with
69 additions
and
4 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