From 8b6b4b70f243c8bd5788f20c46eee72c51eff341 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Tue, 30 Jul 2024 20:08:12 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A0=E8=AE=A1=E7=AE=97=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativelauncher/src/NativeLauncher.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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_); } /* ----------------------------------- 电话 ----------------------------------- */ -- 2.17.1