Fix HDMI issue
authorJoohyun Kim <joohyune.kim@samsung.com>
Thu, 2 May 2013 06:40:18 +0000 (15:40 +0900)
committerJoohyun Kim <joohyune.kim@samsung.com>
Thu, 2 May 2013 06:40:18 +0000 (15:40 +0900)
Change-Id: I38e25bfc7143a88a27f00b609c1c389c3d1443c8
Signed-off-by: Joohyun Kim <joohyune.kim@samsung.com>
src/system/FSys_DeviceManagerImpl.cpp

index 0b2c5c4..ff7ca7d 100644 (file)
@@ -1395,7 +1395,7 @@ _DeviceManagerImpl::GetState(DeviceType deviceType, String& state)
                int ret = 0;
                bool supported = false;
                r = _SystemInfoImpl::GetSysInfo(_SYSTEM_INFO_HDMI, supported);
-               SysTryReturnResult(NID_SYS, supported == false, E_UNSUPPORTED_OPERATION, "Current device does not support HDMI.");
+               SysTryReturnResult(NID_SYS, supported == true, E_UNSUPPORTED_OPERATION, "Current device does not support HDMI.");
 
                ret = vconf_get_int(VCONFKEY_SYSMAN_HDMI, &value);
                SysTryReturnResult(NID_SYS, !(ret < 0), E_SYSTEM, "vconf_get_int failed Output value is %d", value);