!9197 fix: change ID as SET_SCREEN_POWER_BY_ID

Merge pull request !9197 from wangyantian/master
This commit is contained in:
openharmony_ci 2024-09-22 12:04:27 +00:00 committed by Gitee
commit 626b0fe78d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -824,7 +824,7 @@ bool OHOS::Rosen::ScreenSessionManagerProxy::SetScreenPowerById(ScreenId screenI
WLOGFE("[UL_POWER]Write PowerStateChangeReason failed");
return false;
}
if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SPECIFIED_SCREEN_POWER),
if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SCREEN_POWER_BY_ID),
data, reply, option) != ERR_NONE) {
WLOGFW("[UL_POWER]SendRequest failed");
return false;