!954 同一窗口 重复注册 失败

Merge pull request !954 from zpf/master
This commit is contained in:
openharmony_ci 2024-03-11 02:18:40 +00:00 committed by Gitee
commit 01fe50f201
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -206,7 +206,7 @@ RetError AccessibilitySystemAbilityClientImpl::RegisterElementOperator(
auto iter = elementOperators_.find(windowId);
if (iter != elementOperators_.end()) {
HILOG_ERROR("windowID[%{public}d] is exited", windowId);
return RET_ERR_CONNECTION_EXIST;
return RET_OK;
}
sptr<AccessibilityElementOperatorImpl> aamsInteractionOperator =