| commit | 9a820d73511379877b077fde452c31fede89da23 | [log] [tgz] |
|---|---|---|
| author | Hsuan Ting Chen <[email protected]> | Wed Sep 23 04:37:45 2020 |
| committer | Commit Bot <[email protected]> | Thu Nov 12 12:40:05 2020 |
| tree | c9df9eff93ad9519e4e2c3a51739a01df3a2f0c5 | |
| parent | 34e90fe57efa32774f5a5d6073cbc74a126e676c [diff] |
minidiag/ui: Prevent calling update action if there were no updates
Add a return code `VB2_ERROR_EX_DIAG_TEST_UPDATED` to determine if
updating needed.
BUG=b:168776970
BRANCH=none
TEST=Build locally, boot recovery, select 'run diagnostics',
enter memory test (quick) screen,
and observe that the delay reduces while pressing keyboard
Cq-Depend: chromium:2423699
Signed-off-by: Hsuan Ting Chen <[email protected]>
Change-Id: I7606911bee7257e8eed4ec35d197efaa57b72e13
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2424370
Reviewed-by: Yu-Ping Wu <[email protected]>