启动时设置displayState状态

Signed-off-by: 张有康 <zhangyoukang1@h-partners.com>
This commit is contained in:
张有康
2025-02-21 14:21:06 +08:00
parent f0d439444d
commit dea45d00a7
+1
View File
@@ -82,6 +82,7 @@ void DisplayManagerService::OnStart()
if (!Publish(sptr<DisplayManagerService>(this))) {
WLOGFE("Publish failed");
}
SetDisplayState(DisplayState::ON);
WLOGFI("end");
}