void NativeLauncher::InitCalculatorSlice(void)
{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneRingSlice");
- SliceProxy *phoneringview = new AbilitySliceProxy<CalculatorView, CalculatorPresenter>;
- if (phoneringview == nullptr)
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitCalculatorSlice");
+ SliceProxy *Calculatorview_ = new AbilitySliceProxy<CalculatorView, CalculatorPresenter>;
+ 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_);
}
/* ----------------------------------- 电话 ----------------------------------- */