commit | 0f86e0f9acc270a746d989916946d952f26a66c2 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Wed May 08 16:17:40 2024 +0000 |
committer | Alec Mouri <alecmouri@google.com> | Wed May 08 16:28:52 2024 +0000 |
tree | 135d68480defee32a926e22e540dacac91fe6c56 | |
parent | b92aff678e27fc605bf8c9b22232a460f1b901fd [diff] |
Apply the desired HDR headroom when creating the SurfaceView's surface Otherwise, surface destruction, such as when a SurfaceView is detached from a window, causes the SurfaceView to "forget" the requested headroom when the surface is re-created. Bug: 338655585 Test: SurfaceViewTests Change-Id: Ie54d9aca289dca21355c5515ee384e7e06fd4171