97c870518ce1149b32966d98ebfe93f3eb5d1fef |
|
06-Jan-2016 |
Casey Dahlin <sadmac@google.com> |
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
/system/update_engine/client_library/include/update_engine/status_update_handler.h
|