commit | 97c870518ce1149b32966d98ebfe93f3eb5d1fef | [log] [tgz] |
---|---|---|
author | Casey Dahlin <sadmac@google.com> | Wed Jan 06 14:33:55 2016 -0800 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jan 12 22:17:12 2016 +0000 |
tree | e0dcbcb0f53316038ac168a3469af8f5d90942e9 | |
parent | c7cc45e4ac9ca1f4693dfc93e4ff203992d446a1 [diff] |
Introduce status handlers and use them in client We introduce a StatusUpdateHandler class which can be overridden to provide a method with which to react to status updates. This replaces manual dbus logic in several places in update_engine_client with a consistent interface for asynchronously handling status updates. Change-Id: Idca4229de82074fb7a87a315b45dd0292c1b1f16 Test: Confirmed --update blocks and resumes correctly Bug: 26233663