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

Commit 31519f63 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android Git Automerger
Browse files

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

* commit 'ea9675e7':
  Do not issue config change command when not needed
parents f99986ee ea9675e7
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);