!17191 不调用SetDisplayActiveRegion

Merge pull request !17191 from 杨帆/038-HdiDebug
This commit is contained in:
openharmony_ci 2024-11-17 04:26:13 +00:00 committed by Gitee
commit 075913f3f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -214,7 +214,10 @@ int32_t HdiDeviceImpl::SetScreenActiveRect(uint32_t screenId, const GraphicIRect
.w = activeRect.w,
.h = activeRect.h,
};
return g_composer->SetDisplayActiveRegion(screenId, hdiActiveRect);
// to call SetDisplayActiveRegion, when HDI is ok
(void)screenId;
(void)hdiActiveRect;
return GRAPHIC_DISPLAY_SUCCESS;
}
int32_t HdiDeviceImpl::SetScreenOverlayResolution(uint32_t screenId, uint32_t width, uint32_t height)