commit | 047802d41650f52b8adee936ce2c2e8f0738ba12 | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Tue May 19 23:55:12 2020 +0200 |
committer | Marin Shalamanov <shalamanov@google.com> | Fri May 29 18:15:52 2020 +0200 |
tree | caa92c3d2760cef6de3950e10ab6e65e2ba54f7d | |
parent | fd839ea18fe1e3f9e8b1aa690c9a88cfa9d48900 [diff] |
Render boot animation with same size as framebuffer When ro.surface_flinger.max_graphics_{width|height} is set the framebuffer size is limited by this property. However the boot animation size matches the display active mode size which can cause it to be off-center or partially visible. This change limits the boot animation surface size with accordance with ro.surface_flinger.max_graphics_width. Bug: 153991408 Test: manual Change-Id: Idfd1c9adc1f6b10f44bc04ec2078dbc823f28ed6