mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 02:35:22 +00:00
Fix alignment of HWID on firmware screens and bitmap viewer.
BUG=chrome-os-partner:12701 TEST=Disable the 'clean' step in the Makefile and run 'make' in newbitmaps directory. Use the bitmap_viewer to verify the HWID is correctly aligned when compared with the "Model" text. Change-Id: Icd3977f50461492a0999059ccd4982d16a373dce Reviewed-on: https://gerrit.chromium.org/gerrit/30453 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Commit-Ready: Dave Parker <dparker@chromium.org> Tested-by: Dave Parker <dparker@chromium.org>
This commit is contained in:
@@ -62,8 +62,8 @@ class BmpBlock(object):
|
||||
if "$HWID.rtol" in images:
|
||||
print "WARNING: ignoring $HWID.rtol font blob"
|
||||
# TODO(hungte) Replace this by rendering with font block.
|
||||
images["$HWID"] = os.path.join(self.libdir,'current_hwid.bmp')
|
||||
images["$HWID.rtol"] = os.path.join(self.libdir, 'current_hwid.bmp')
|
||||
images["$HWID"] = 'hwid_placeholder.bmp'
|
||||
images["$HWID.rtol"] = 'hwid_placeholder.bmp'
|
||||
|
||||
screens = thing["screens"]
|
||||
assert isinstance(screens, dict)
|
||||
|
||||
Reference in New Issue
Block a user