Signed-off-by: pengyanggit yangpeng177@huawei.com

Signed-off-by: pengyanggit <yangpeng177@huawei.com>
Change-Id: I40369798a59388f4a3e55a1803e3a35553eb5ba4
This commit is contained in:
pengyanggit 2024-08-08 10:55:50 +08:00
parent fcf44ad599
commit 49a1fbd7e0

View File

@ -1480,7 +1480,7 @@ HWTEST_F(InteractionDragDrawingTest, InteractionDragDrawingTest_RotateDragWindow
ASSERT_EQ(ret, RET_OK);
ret = InteractionManager::GetInstance()->SetDragWindowVisible(DRAG_WINDOW_VISIBLE);
ASSERT_EQ(ret, RET_OK);
std::shared_ptr<Rosen::RSTransaction>& rsTransaction { nullptr };
const std::shared_ptr<Rosen::RSTransaction>& rsTransaction { nullptr };
ASSERT_NO_FATAL_FAILURE(InteractionManager::GetInstance()->RotateDragWindowSync(rsTransaction));
DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID };
ret = InteractionManager::GetInstance()->StopDrag(dropResult);