Skip to content

Commit

Permalink
Merge pull request rdkcentral#5257 from apatel859/release/qs029
Browse files Browse the repository at this point in the history
XIONE-14550: Handled exception for device setting init in HdcpProfile
  • Loading branch information
apatel859 authored May 8, 2024
2 parents 70de3f7 + 4adbc9f commit 7120461
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HdcpProfile/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.8] - 2024-05-06
### Fixed
- Fixed Handled Exception for DeviceSettings init

## [1.0.7] - 2024-03-29
### Security
- Resolved security vulnerabilities
Expand Down
12 changes: 10 additions & 2 deletions HdcpProfile/HdcpProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 7
#define API_VERSION_NUMBER_PATCH 8

namespace WPEFramework
{
Expand Down Expand Up @@ -82,7 +82,15 @@ namespace WPEFramework
{
HdcpProfile::_instance = this;
InitializeIARM();
device::Manager::Initialize();
try
{
device::Manager::Initialize();
LOGINFO("HdcpProfile device::Manager::Initialize success");
}
catch(...)
{
LOGINFO("HdcpProfile device::Manager::Initialize failed");
}
return (string());
}

Expand Down

0 comments on commit 7120461

Please sign in to comment.