Commit bcccd402 authored by Julius Werner's avatar Julius Werner Committed by chrome-bot
Browse files

screens: Correct text height for WAIT screen



Since bmpblk has been fixed to no longer render an empty line at the end
of the critical update string, this patch corrects the image height
accordingly to keep the text at the same size. (And as a bonus, it's no
longer off-center.)

CQ-DEPEND=CL:639018
BRANCH=none
BUG=none
TEST=Hacked Kevin to display WAIT instead of INSERT, then sanity-checked
the screen in a few languages in recovery mode.

Change-Id: I0cf6143b5a4d746794c611c27d5bbbad9ae23626
Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/639238

Reviewed-by: default avatarDaisuke Nojiri <dnojiri@chromium.org>
parent 6217eaae
......@@ -753,7 +753,7 @@ static VbError_t vboot_draw_wait(struct params *p)
RETURN_ON_ERROR(vboot_draw_base_screen_without_language(p));
RETURN_ON_ERROR(draw_image_locale("update.bmp", p->locale,
VB_SCALE_HALF, VB_SCALE_HALF,
VB_SIZE_AUTO, VB_TEXT_HEIGHT * 3,
VB_SIZE_AUTO, VB_TEXT_HEIGHT * 2,
PIVOT_H_CENTER|PIVOT_V_CENTER));
return VBERROR_SUCCESS;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment