diff options
author | Alex Deymo <deymo@google.com> | 2016-02-03 09:54:02 -0800 |
---|---|---|
committer | Alex Deymo <deymo@google.com> | 2016-02-03 20:52:47 -0800 |
commit | 1b3556cbe66b3f5be35f6117d4013ddc199b064c (patch) | |
tree | a4239e919de5447a4eeb7fd2727f70a8f46c3375 /common/error_code_utils.h | |
parent | 1f19dccb115cf608104b1cb0d192a53ae32f238f (diff) |
Allow null SystemState in the DownloadAction.
The SystemState is only defined in the libupdate_engine library, so
it may not be defined for other users of libpayload_consumer. This
patch allows to pass a nullptr for the SystemState while explicitly
passing the other classes defined in libpayload_consumer upon
construction.
Bug: None
TEST=FEATURES=test emerge-link update_engine
TEST=`mmma system/update_engine` on aosp_arm-eng and edison-eng
Change-Id: I535d0184a85e0a167ac65875f6e7c07832efbf40
Diffstat (limited to 'common/error_code_utils.h')
0 files changed, 0 insertions, 0 deletions