From: hcj <1224667075@qq.com> Date: Tue, 30 Jul 2024 12:08:12 +0000 (+0800) Subject: 增加计算器 X-Git-Tag: release_V1.2.70_20241020_135402~731 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=8b6b4b70f243c8bd5788f20c46eee72c51eff341;p=mirrors%2FFD230.git 增加计算器 --- diff --git a/code/sdk/application/wearable/fd230app/nativelauncher/src/NativeLauncher.cpp b/code/sdk/application/wearable/fd230app/nativelauncher/src/NativeLauncher.cpp index d0d78e0a0..63ced6499 100644 --- a/code/sdk/application/wearable/fd230app/nativelauncher/src/NativeLauncher.cpp +++ b/code/sdk/application/wearable/fd230app/nativelauncher/src/NativeLauncher.cpp @@ -967,14 +967,14 @@ namespace OHOS void NativeLauncher::InitCalculatorSlice(void) { - WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneRingSlice"); - SliceProxy *phoneringview = new AbilitySliceProxy; - if (phoneringview == nullptr) + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitCalculatorSlice"); + SliceProxy *Calculatorview_ = new AbilitySliceProxy; + if (Calculatorview_ == nullptr) { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phoneringview"); + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "Calculator"); return; } - NativeAbility::GetInstance().AddSliceProxy(VIEW_CALCULATOR, phoneringview); + NativeAbility::GetInstance().AddSliceProxy(VIEW_CALCULATOR, Calculatorview_); } /* ----------------------------------- 电话 ----------------------------------- */