summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2020-10-01 12:56:24 +0200
committer Marin Shalamanov <shalamanov@google.com> 2020-10-05 11:32:29 +0000
commit4429cac4229976a49a3d0c51c73586011133625d (patch)
treedd4789fb6fa1af6e647e7926fe43d56cd545ac4e /libs/input/KeyLayoutMap.cpp
parent209ae617cf52e29019a289a54b295fc3d967726c (diff)
[SF] Set default layerStackRect to the framebuffer size
Currently we set the default layer stack rect to the size of the screen. In practice this default value is used only for the first few seconds of the boot animation until DisplayManager sets projection. However some TV devices run with a framebuffer smaller than the display which cases the boot animatiob to be misscaled. In this CL we change the default to the framebuffer size. This change should have no effect for non-TV devices, since there the framebuffer size = display size. Bug: 169694490 Test: flash a device where ro.surface_flinger.max_graphics_heigh=1080 and display mode is 4k, make sure the boot animation is displayed properly Test: flash a device with 1080p display size and framebuffer and make sure the boot animation is displayed properly Change-Id: I91b4623bd0eab826d15abd2874929ae3758602f1
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions