hwc2: Start IDisplayConfig after composer init done.
Change-Id: Iabcc9b85cbacbc585f5eab8534e4589924e14111
CRs-Fixed: 2530738
diff --git a/composer/hwc_session.cpp b/composer/hwc_session.cpp
index 5e8659b..bea3d00 100644
--- a/composer/hwc_session.cpp
+++ b/composer/hwc_session.cpp
@@ -170,7 +170,6 @@
return -EINVAL;
}
- StartServices();
HWCDebugHandler::Get()->GetProperty(ENABLE_NULL_DISPLAY_PROP, &null_display_mode_);
HWCDebugHandler::Get()->GetProperty(DISABLE_HOTPLUG_BWCHECK, &disable_hotplug_bwcheck_);
HWCDebugHandler::Get()->GetProperty(DISABLE_MASK_LAYER_HINT, &disable_mask_layer_hint_);
@@ -194,6 +193,7 @@
}
is_composer_up_ = true;
+ StartServices();
return 0;
}