Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[callstate] Make it possible to ignore incoming calls. Fixes JB#37565
The existing workaround for allowing powerkey to be used for blanking the display after ignoring an incoming calls leaves the callstate to ringing state. When ignoring incoming call while already having an active call, this effectively leaves in-call proximity blanking disabled. Add ignored call state enum value for use within mce callstate plugin. Separate call state enum <-> string translations functions dealing with D-Bus interface from the ones dealing with internal diagnostic logging. Add ignore_incoming_calls datapipe and bind it to ignoring all calls that are currently in the ringing state and re-evaluating overall call state. Execute the ignore_incoming_calls datapipe when D-Bus message indicating that call ui has ignored incoming calls is received. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
5 changed files
with
204 additions
and
9 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
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