32 files changed, 2617 insertions, 874 deletions
diff --git a/hwc2/common/base/Hwcomposer.cpp b/hwc2/common/base/Hwcomposer.cpp index a271778..341ef53 100644 --- a/hwc2/common/base/Hwcomposer.cpp +++ b/hwc2/common/base/Hwcomposer.cpp @@ -124,8 +124,7 @@ int32_t Hwcomposer::registerCallback( if (!device) { ETRACE("no device found"); } - device->updateDisplayConfigs(); - pfnHotplug(hotplug_cb_data, HWC_DISPLAY_PRIMARY, 1); + device->onHotplug(HWC_DISPLAY_PRIMARY, true); } break; case HWC2_CALLBACK_REFRESH: |