diff options
Diffstat (limited to 'livedisplay/1.0/default/service.cpp')
| -rw-r--r-- | livedisplay/1.0/default/service.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/livedisplay/1.0/default/service.cpp b/livedisplay/1.0/default/service.cpp index b8f5cb5..4370545 100644 --- a/livedisplay/1.0/default/service.cpp +++ b/livedisplay/1.0/default/service.cpp @@ -39,14 +39,13 @@ using ::vendor::lineage::livedisplay::V1_0::implementation::Color; int main() { status_t status; - android::sp<IColor> service = nullptr; LOG(INFO) << "LiveDisplay HAL service is starting."; // The LiveDisplay HAL may communicate to other vendor components via /dev/vndbinder android::ProcessState::initWithDriver("/dev/vndbinder"); - service = Color::getInstance(); + android::sp<IColor> service = new Color(); if (service == nullptr) { LOG(ERROR) << "Can not create an instance of LiveDisplay HAL Iface, exiting."; goto shutdown; |
