commit | 89e24c11b406fe048382bdf1c89334e10417b899 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Thu Mar 22 18:05:44 2018 -0700 |
committer | Sen Jiang <senj@google.com> | Tue Mar 27 23:11:33 2018 +0000 |
tree | 669bb247d080dbd9cbccc60a3f5e794699612713 | |
parent | fe28440d08126c737f12daf66d5f0bd7df69f40c [diff] |
Fix error code for no update. PayloadState does not get notified if there's no update, so the error code will not be updated, move this to UpdateAttempter. We were using the generic kError for no update, this change added a new error code kNoUpdate for this, now update_engine_client will show kNoUpdate instead of kSuccess or a random last error. Bug: 36946608 Test: update_engine_client --check_for_update --follow Change-Id: Ie1e94841788437140e0894dc2e73c314a7564108