summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2020-05-05 10:34:11 +0800
committerCommit Bot <commit-bot@chromium.org>2020-05-07 09:58:54 +0000
commit54ca8c3a2516bde0097d439bd6a85ddb1ce320fa (patch)
treec2b19ae923407dffcd1662f5e77c0ff8700bb2bf /Android.mk
parent8c03950f59c86df17eca8dfe2a8bdc7ea3e075c7 (diff)
downloadvboot-54ca8c3a2516bde0097d439bd6a85ddb1ce320fa.tar.gz
vboot/ui: remove validate_selection function
Given that we are sending the full vb2_ui_context into UI-related functions, it's impossible to fully validate that called functions don't modify UI state in unexpected ways. Assume UI-related functions are mutating vb2_ui_context data correctly. Screen init functions (see CL:2168072) will be used to set selected_item and disabled_mask before displaying a screen for the first time. change_screen() is also changed to return a vb2_error_t value to be more consistent with action functions. BUG=b:146399181 TEST=make clean && make runtests BRANCH=none Change-Id: Icda68f95a835b9143b8dd085d8dbdb7bced04775 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2182084 Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Yu-Ping Wu <yupingso@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions