Revert "framebuffer: In enableHDMI, check if target supports true mirroring"

This reverts commit 85b77ee17b4f30cedb7b449182aa0ad5e942af7e.
This commit is contained in:
Sudhir Sharma 2012-03-15 20:24:56 -07:00 committed by Andrew Sutherland
parent 0e9a59558b
commit 1d2a4912c5

View File

@ -362,8 +362,6 @@ static int fb_enableHDMIOutput(struct framebuffer_device_t* dev, int externaltyp
dev->common.module);
pthread_mutex_lock(&m->overlayLock);
Overlay* pTemp = m->pobjOverlay;
//Check if true mirroring can be supported
m->trueMirrorSupport = FrameBufferInfo::getInstance()->canSupportTrueMirroring();
m->enableHDMIOutput = externaltype;
LOGE("In fb_enableHDMIOutput: externaltype = %d", m->enableHDMIOutput);
if(externaltype) {
@ -795,7 +793,7 @@ int mapFrameBufferLocked(struct private_module_t* module)
pthread_t hdmiUIThread;
pthread_create(&hdmiUIThread, NULL, &hdmi_ui_loop, (void *) module);
module->hdmiMirroringState = HDMI_NO_MIRRORING;
module->trueMirrorSupport = false;
module->trueMirrorSupport = FrameBufferInfo::getInstance()->canSupportTrueMirroring();
#endif
return 0;