Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[powerkey] Wait for p-sensor state before executing powerkey/gesture …
…actions The actions executed due to powerkey press / touchscreen gesture events need to be subjected to proximity sensor check. If on-demand proximity sensor power up is used, sensor state is not available when input events are received. Use the on-proximity action queue, so that proximity sensor gets powered up and actions executed once the sensor state is known. As conditions for acting on power key and gesture events differ, queue predicate selection callback in front of the actual action callbacks. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
138 additions
and
7 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