diff options
-rw-r--r-- | libhwcomposer/hwcomposer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhwcomposer/hwcomposer.cpp b/libhwcomposer/hwcomposer.cpp index ad0acc6d2..35c19acff 100644 --- a/libhwcomposer/hwcomposer.cpp +++ b/libhwcomposer/hwcomposer.cpp @@ -960,6 +960,8 @@ static void handleHDMIStateChange(hwc_composer_device_t *dev, int externaltype) if (fbDev) { fbDev->perform(fbDev, EVENT_EXTERNAL_DISPLAY, externaltype); } + // Yield - Allows the UI channel(with zorder 0) to be opened first + sched_yield(); if(ctx && ctx->mOverlayLibObject) { overlay::Overlay *ovLibObject = ctx->mOverlayLibObject; if (!externaltype) { |