buffet: Fixed listing of cloud commands on local API

By mistake CloudDelegateImpl sign-up OnCommandAdded and OnCommandRemoved
for the same event. As result command was added to the list and
removed from immediately.

BUG=brillo:1219
TEST=Add command using cloud, list command using local API

Change-Id: I5164017c3ee6004ca5d3a72f5c050beacf15a74f
Reviewed-on: https://chromium-review.googlesource.com/281340
Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
Trybot-Ready: Vitaly Buka <vitalybuka@chromium.org>
Tested-by: Vitaly Buka <vitalybuka@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
1 file changed
tree: c561a7fc1f29b9214ef6485f887c4ee0ca38408b
  1. buffet/