Skip to content

Commit

Permalink
Add dbus interface to allow notification state manipulation from ui
Browse files Browse the repository at this point in the history
notification_begin_req(string id, int32 length, int32 renew)

Starts notification exception state that lasts for length ms. Display
is turned on if proximity sensor is uncovered during that time. The
length is extended by renew ms while touch input is detected during
display on time.

notification_end_req(string id, int32 linger)

Ends notification exception state. The display is still kept on for
linger ms (or turned on if proximity sensor is uncovered during the
linger time). If touch input is detected during linger time, the
display state restore is canceled and normal blanking timers are
used instead.

Also add --begin-notification and --end-notification options to
mcetool to ease testing and debugging.

[mce] Add dbus interface to allow notification state manipulation from ui. Fixes JB#17383
  • Loading branch information
spiiroin committed Apr 15, 2014
1 parent a5a0046 commit c67e005
Show file tree
Hide file tree
Showing 2 changed files with 595 additions and 55 deletions.

0 comments on commit c67e005

Please sign in to comment.