Skip to content

Commit

Permalink
[settings] Avoid internal recursion and ensure external notification
Browse files Browse the repository at this point in the history
When a setting key is changed via D-Bus interface, the value requested
might get filtered by the mce side logic tracking the setting. If the key
gets changed back to the original value, no change notification signal
is emitted and clients can get out of sync with reality.

When a key value changes, make sure a dbus notification for the key is
emitted even if the value gets changed back to the original value.

To avoid internal ringing, do not call internal change notifiers when a
key is set to the same value as it is already holding.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Mar 30, 2017
1 parent fa50666 commit 512a96a
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 64 deletions.

0 comments on commit 512a96a

Please sign in to comment.