bugfix:touchGuide能力的辅助应用启动后,依然能正常点击屏幕

Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
Mupceet 2022-03-10 17:44:21 +08:00
parent 957a0ae8e6
commit 8c98e60084

View File

@ -197,10 +197,12 @@ void AccessibilityInputInterceptor::DestroyInterceptor()
}
if (keyEventInterceptorId_ != -1) {
inputManager_->RemoveInterceptor(keyEventInterceptorId_);
keyEventInterceptorId_ = -1;
}
if (interceptorId_ != -1) {
inputManager_->RemoveInterceptor(interceptorId_);
interceptorId_ = -1;
}
}