File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -702,7 +702,6 @@ namespace WPEFramework
702
702
catch (const device::Exception& err)
703
703
{
704
704
LOGINFO (" HdmiCecSink plugin device::Manager::Initialize failed" );
705
- msg = " HdmiCecSink plugin Initialize failed" ;
706
705
LOG_DEVICE_EXCEPTION0 ();
707
706
}
708
707
@@ -714,8 +713,7 @@ namespace WPEFramework
714
713
if (profileType == STB || profileType == NOT_FOUND)
715
714
{
716
715
LOGINFO (" Invalid profile type for TV \n " );
717
- msg = " Not supported" ;
718
- return msg;
716
+ return (std::string (" Not supported" ));
719
717
}
720
718
721
719
HdmiCecSink::_instance = this ;
@@ -837,14 +835,13 @@ namespace WPEFramework
837
835
catch (...)
838
836
{
839
837
LOGWARN (" Exception while enabling CEC settings .\r\n " );
840
- msg = " Exception while enabling CEC settings" ;
841
838
}
842
839
}
843
840
getCecVersion ();
844
841
}
845
842
846
843
LOGINFO (" HdmiCecSink plugin Initialize completed \n " );
847
- return msg ;
844
+ return ( std::string ()) ;
848
845
849
846
}
850
847
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ namespace WPEFramework
424
424
try
425
425
{
426
426
// TODO(MROLLINS) this is probably per process so we either need to be running in our own process or be carefull no other plugin is calling it
427
- // device::Manager::Initialize();
427
+ device::Manager::Initialize ();
428
428
429
429
#ifndef IO_HCEC_ENABLE_IARM
430
430
device::Host::getInstance ().Register (baseInterface<device::Host::IDisplayDeviceEvents>(), " WPE[HdmiCecSource]" );
You can’t perform that action at this time.
0 commit comments