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

Commit ea9675e7 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Do not issue config change command when not needed" into mnc-dr-dev

parents 65bfe1ca 3b3cbb53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -544,7 +544,7 @@ final class LocalDisplayAdapter extends DisplayAdapter {
                    physIndex = findDisplayInfoIndexLocked(colorTransformId, modeId);
                }
            }
            if (physIndex > 0 && mActivePhysIndex == physIndex) {
            if (mActivePhysIndex == physIndex) {
                return;
            }
            SurfaceControl.setActiveConfig(getDisplayTokenLocked(), physIndex);