this should be handled by the display-manager. we were doing
that in SF because until recently we didn't have enough support
in the HAL. however, this is now causing other problems when
plugging hdmi while the screen is off for instance.
Bug:
7150885
Change-Id: I739b209056a765d38d05295cf202f67ee0f506ae
state.viewport, state.frame);
hw->setDisplayName(state.displayName);
mDisplays.add(display, hw);
- if (hw->getDisplayType() < DisplayDevice::NUM_DISPLAY_TYPES) {
- // notify the system that this display is now up
- // (note onScreenAcquired() is safe to call from
- // here because we're in the main thread)
- onScreenAcquired(hw);
- }
}
}
}