diff options
author | Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com> | 2010-04-22 11:35:45 +0300 |
---|---|---|
committer | Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com> | 2010-04-22 11:35:45 +0300 |
commit | 6da6e4e3de7f1800e5b736add0b944d33d3acf37 (patch) | |
tree | 64b3f2c8b48ee5b6d24b521dd0e1ebac0393b5a1 /src/bluetooth.conf | |
parent | fa35778e2f91272667ec07f4f2f989e4e485becb (diff) | |
download | bluez-6da6e4e3de7f1800e5b736add0b944d33d3acf37.tar.gz |
Fix Device.SetProperty("Trusted",... always emit PropertyChanged
Currently any change done to Trusted property generates a PropertyChanged
since no verification is done prior to apply the new value which may
generate an unnecessary write to the storage and extra D-Bus traffic.
To fix this trusted is now loaded from storage and cached in memory when
the device is created, which latter is used to make sure the value has
really changed avoiding storage reads to check current value.
Diffstat (limited to 'src/bluetooth.conf')
0 files changed, 0 insertions, 0 deletions