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

Commit 9270a9fb authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Apply the desired HDR headroom when creating the SurfaceView's surface" into main

parents b3bf595c 0f86e0f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -986,7 +986,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall

            updateBackgroundVisibility(surfaceUpdateTransaction);
            updateBackgroundColor(surfaceUpdateTransaction);
            if (mLimitedHdrEnabled && hdrHeadroomChanged) {
            if (mLimitedHdrEnabled && (hdrHeadroomChanged || creating)) {
                surfaceUpdateTransaction.setDesiredHdrHeadroom(
                        mBlastSurfaceControl, mHdrHeadroom);
            }