Skip to content

Commit

Permalink
[dbus] Add config for button backlight methods. JB#39838
Browse files Browse the repository at this point in the history
The button backlight related dbus method are supposed to be available for
all process, but due to missing config only root processes are allowed to
make these method calls.

Add necessary dbus configuration to make the methods callable by everybody.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Oct 12, 2017
1 parent 9d7e285 commit 40fef5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mce.conf
Expand Up @@ -222,6 +222,13 @@
send_interface="com.nokia.mce.request"
send_member="get_keypad_input_policy"/>

<allow send_destination="com.nokia.mce"
send_interface="com.nokia.mce.request"
send_member="get_button_backlight"/>
<allow send_destination="com.nokia.mce"
send_interface="com.nokia.mce.request"
send_member="req_button_backlight_change"/>

</policy>

<!-- MCE expects some user process to provide compositor
Expand Down

0 comments on commit 40fef5d

Please sign in to comment.