!1227 无障碍框架优化后台唤醒

Merge pull request !1227 from fanzexuan/hthx
This commit is contained in:
openharmony_ci 2024-07-13 11:21:08 +00:00 committed by Gitee
commit 4f995a9ec7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -43,7 +43,7 @@ void AccessibleAbilityManagerStateObserverProxy::OnStateChanged(const uint32_t s
int error = NO_ERROR;
MessageParcel data;
MessageParcel reply;
MessageOption option(MessageOption::TF_ASYNC);
MessageOption option(MessageOption::TF_ASYNC | MessageOption::TF_ASYNC_WAKEUP_LATER);
if (!WriteInterfaceToken(data)) {
HILOG_ERROR("fail, connection write Token");