summaryrefslogtreecommitdiff
path: root/ucm-config
diff options
context:
space:
mode:
authorHsin-Yu Chao <hychao@chromium.org>2016-05-05 17:16:57 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-05-08 00:31:17 -0700
commitb9bf4e351d33213f6bd9896b53bb1ff7fde509c0 (patch)
treea44e3e5ed958ca467efac32cb3590c1bd2f9c54f /ucm-config
parentb792427ab1b117798a45dc3e39f278ab7f792849 (diff)
downloadadhd-b9bf4e351d33213f6bd9896b53bb1ff7fde509c0.tar.gz
CRAS: iodev - Avoid set volume loop by Chrome UI
When a node's volume is changed by a component different than Chrome, dbus signal 'OutputNodeVolumeChanged' will be fired. If Chrome wasn't synced about the new volume, it could try to tell CRAS to update volume again. Avoid this set volume loop by adding a check to node's volume attribute. BUG=chromium:609458 TEST=Use cras_test_client to set the same node volume multiple times, verify there is only one dbus signal fired. Change-Id: Iac57b510fa2fb350462325fc9b69fcc6c0044077 Reviewed-on: https://chromium-review.googlesource.com/342766 Commit-Ready: Hsinyu Chao <hychao@chromium.org> Tested-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'ucm-config')
0 files changed, 0 insertions, 0 deletions