mirror of
https://gitee.com/openharmony/accessibility
synced 2025-03-01 15:45:53 +00:00
codecheck
Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
parent
df6a58c9e4
commit
cbba885c0d
@ -299,7 +299,8 @@ bool AccessibilityWindowManager::IsValidWindow(int32_t windowId)
|
||||
|
||||
auto it = std::find_if(a11yWindows_.begin(), a11yWindows_.end(),
|
||||
[windowId](const std::map<int32_t, AccessibilityWindowInfo>::value_type &window) {
|
||||
return window.first == windowId; });
|
||||
return window.first == windowId;
|
||||
});
|
||||
if (it == a11yWindows_.end()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user