diff options
author | Gurkaran Singh <quic_gurksing@quicinc.com> | 2023-02-24 11:17:23 -0500 |
---|---|---|
committer | Gurkaran Singh <quic_gurksing@quicinc.com> | 2023-02-24 11:18:45 -0500 |
commit | d6ceaf0e98d484662ece6455263e6849263062f9 (patch) | |
tree | 521ac91d278258190d91277a909405bdec3cb8e8 | |
parent | 9cf3017b600c9fd71b3ce4a9a190509d42f08f45 (diff) |
displayconfig: Change to non-blocking call in Init
Change to a non-blocking getService call during initialization.
Change-Id: I145541340072271b1d59f56bcb9ec4bd803c9dd9
CRs-Fixed: 3407731
-rw-r--r-- | services/config/src/client_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/config/src/client_impl.cpp b/services/config/src/client_impl.cpp index 68807a9..197af93 100644 --- a/services/config/src/client_impl.cpp +++ b/services/config/src/client_impl.cpp @@ -71,7 +71,7 @@ namespace DisplayConfig { int ClientImpl::Init(std::string client_name, ConfigCallback *callback) { - display_config_ = IDisplayConfig::getService(); + display_config_ = IDisplayConfig::tryGetService(); // Unable to find Display Config 2.0 service. Fail Init. if (!display_config_) { return -1; |