Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4429cac4 authored by Marin Shalamanov's avatar Marin Shalamanov
Browse files

[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
parent 209ae617
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment