From: Caisking <3449750381@qq.com> Date: Wed, 11 Sep 2024 10:35:35 +0000 (+0800) Subject: 修复密码锁的错误处理 X-Git-Tag: release_V1.2.70_20241020_135402~485^2~5^2~20 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=1602d70effdc60747b7e8963ec54043c1fd204f2;p=mirrors%2FFD230.git 修复密码锁的错误处理 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/codedlock/src/CodedLockPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/codedlock/src/CodedLockPresenter.cpp index e123d3dfc..7cc54073e 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/codedlock/src/CodedLockPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/codedlock/src/CodedLockPresenter.cpp @@ -79,7 +79,7 @@ namespace OHOS if (CodedLockModel::GetInstance()->IsLockState()) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "Returning to main interface"); - //解锁 + //解锁 uapi_dev_runtime_set_lock_status(0); NativeAbility::GetInstance().ChangeSlice(VIEW_MAIN); //恢复表盘状态 @@ -87,7 +87,7 @@ namespace OHOS } else { - CodedLockView::GetInstance()->UpdatePointShow(0); + NativeAbility::GetInstance().ChangeSlice(VIEW_CODED_LOCK); } }