commit | f2a37dca848bb4abaa86e62e1f6f0384cc2559c1 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Thu Feb 04 11:48:37 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Thu Feb 04 14:05:27 2016 -0800 |
tree | d99dad5f22953e96bf5666c813fa5b5b206dbf09 | |
parent | c7aa24adb840d04c381c5d1c4721de4c322cc4e2 [diff] |
service_example: Pass the brillo::MessageLoop to BinderWatcher. The default BinderWatcher constructor expects the brillo::MessageLoop to be marked as current. This patch passes the brillo::MessageLoop explicitly to the BinderWatcher instead. While at it, fixed the stdin line parsing when the message has spaces. Bug: 26356682 TEST=mmma product/google/common/service_example TEST=Deployed on edison-eng. It works. Change-Id: I126a553fa1df5fd1e4bc0588b989fa38ec8d0fc9