Merge "Do not issue config change command when not needed" into mnc-dr-dev
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user