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

Commit be7a8b44 authored by Michael Wright's avatar Michael Wright
Browse files

Simplify disableHdrConversionForLatency expression.

It's already two booleans, so there's no need for a ternary expression.

Bug: 342006701
Test: compile
Change-Id: I68ced12162826451eb68522a2531bc9b50e73607
parent 660600f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2767,7 +2767,7 @@ public final class DisplayManagerService extends SystemService {
            // If HDR conversion introduces latency, disable that in case minimal
            // post-processing is requested
            boolean disableHdrConversionForLatency =
                    mppRequest ? hdrConversionIntroducesLatencyLocked() : false;
                    mppRequest && hdrConversionIntroducesLatencyLocked();

            if (display.getRequestedMinimalPostProcessingLocked() != mppRequest) {
                display.setRequestedMinimalPostProcessingLocked(mppRequest);