Merge "Fix for framework reboot on connecting to TV through HDMI."

am: 7585cbfd34

* commit '7585cbfd34a46bc8332bf066a5d0f69677d3a7e1':
  Fix for framework reboot on connecting to TV through HDMI.
This commit is contained in:
Shasidhar Ganiga
2016-03-02 23:57:28 +00:00
committed by android-build-merger

View File

@@ -191,6 +191,9 @@ final class LocalDisplayAdapter extends DisplayAdapter {
for (int j = 0; j < colorTransforms.size(); j++) {
if (colorTransforms.get(j).getColorTransform() == info.colorTransform) {
existingMode = true;
if (i == activeDisplayInfo) {
activeColorTransform = colorTransforms.get(j);
}
break;
}
}