From e56fe25212e485d605da1ee081bedd7673a0997a Mon Sep 17 00:00:00 2001 From: yanghang Date: Mon, 22 Jul 2024 15:22:33 +0800 Subject: [PATCH] fix: Blue and yellow inconsistent reduction Signed-off-by: yanghang --- .../test/unittest/src/display_power_mgr_service_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/state_manager/test/unittest/src/display_power_mgr_service_test.cpp b/state_manager/test/unittest/src/display_power_mgr_service_test.cpp index 6ee1cd3..5f12ead 100644 --- a/state_manager/test/unittest/src/display_power_mgr_service_test.cpp +++ b/state_manager/test/unittest/src/display_power_mgr_service_test.cpp @@ -344,10 +344,10 @@ HWTEST_F(DisplayPowerMgrServiceTest, DisplayPowerMgrService021, TestSize.Level0) DisplayState::DISPLAY_OFF, PowerMgr::StateChangeReason::STATE_CHANGE_REASON_APPLICATION); sleep(sleepTime); ret = DisplayPowerMgrClient::GetInstance().SetDisplayState( - DisplayState::DISPLAY_ON, PowerMgr::StateChangeReason::STATE_CHANGE_REASON_TIMEOUT); + DisplayState::DISPLAY_ON, PowerMgr::StateChangeReason::STATE_CHANGE_REASON_APPLICATION); EXPECT_TRUE(ret); ret = DisplayPowerMgrClient::GetInstance().SetDisplayState( - DisplayState::DISPLAY_OFF, PowerMgr::StateChangeReason::STATE_CHANGE_REASON_TIMEOUT); + DisplayState::DISPLAY_OFF, PowerMgr::StateChangeReason::STATE_CHANGE_REASON_APPLICATION); EXPECT_TRUE(ret); } -- Gitee