!1705 更改通知中转站位置

Merge pull request !1705 from zzs110/master
This commit is contained in:
openharmony_ci 2024-06-24 11:03:25 +00:00 committed by Gitee
commit d673036354
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -233,13 +233,13 @@ int32_t DragManager::StopDrag(const DragDropResult &dropResult, const std::strin
FI_HILOGI("mainWindow:%{public}d, dragResult:%{public}d, drop packageName:%{public}s,"
"drag out packageName:%{public}s", dropResult.mainWindow, dropResult.result, packageName.c_str(),
dragOutPkgName.c_str());
#ifdef OHOS_DRAG_ENABLE_ANIMATION
dragDrawing_.NotifyDragInfo(dragOutPkgName, packageName);
#endif // OHOS_DRAG_ENABLE_ANIMATION
if (dragState_ == DragState::STOP) {
FI_HILOGE("No drag instance running, can not stop drag");
return RET_ERR;
}
#ifdef OHOS_DRAG_ENABLE_ANIMATION
dragDrawing_.NotifyDragInfo(dragOutPkgName, packageName);
#endif // OHOS_DRAG_ENABLE_ANIMATION
if ((dropResult.result != DragResult::DRAG_EXCEPTION) && (context_ != nullptr) && (timerId_ >= 0)) {
context_->GetTimerManager().RemoveTimer(timerId_);
timerId_ = -1;