commit | c7cc45e4ac9ca1f4693dfc93e4ff203992d446a1 | [log] [tgz] |
---|---|---|
author | Alex Vakulenko <[email protected]> | Thu Jan 07 10:46:26 2016 -0800 |
committer | Alex Vakulenko <[email protected]> | Fri Jan 08 13:51:15 2016 -0800 |
tree | ab488afa53ac01471b3d07287dcffc35142dea06 | |
parent | 210591e9a4f9628eeb3432f5d6cdb759755273e2 [diff] |
update_engine: Use helper Command::AbortWithCustomError() method weaved now provides new variants of Command::Abort() that allow to specify the error information as brillo::Error or binder::Status. Command::AbortWithCustomError(brillo::Error*) also makes sure the error code is prepended with "_", so no need to add that in OnTrackChannel(). BUG: 25875613 Change-Id: Ic9b2cb6f6ef092b85883ebb5bf5e4c936aa770f0