uint16_t list_offset=0;
uint8_t order=0;
- OHOS:: CallerLogModel::GetInstance()->Setphonebname("0",1);
+ OHOS:: CallerLogModel::GetInstance()->Setphonebname("",0);
OHOS:: CallerLogModel::GetInstance()->Setphonenumber((char *)tell,len);
void Setphonebname(char *name,uint8_t name_len)\r
{\r
call_name.clear();\r
+ if(name_len)\r
call_name.append(reinterpret_cast<const char*>(name), name_len);\r
\r
//printf("%s\r\n",call_name.c_str());\r
if(CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourceCat1)
do_custom_cmd_service_check_msg(CUSTOM_CMD_MSG_CAT1_AUDIO_STOP, nullptr, 0);
- CallerLogModel::GetInstance()->Setphonebname("0",0);
+ CallerLogModel::GetInstance()->Setphonebname("",0);
CallerLogModel::GetInstance()->SetCallDial(CallerLogModel::HFP_PHONE_DIAL);
CallerLogModel::GetInstance()->set_RejectIncomingCall_falg(0);
NotificationManager::GetInstance()->SetWatchCallStatus(false);
imageMicrophone->SetTouchable(true);
imageMicrophone->SetViewId("microphoneChange");
+
+
group->Add(imageMicrophone);
imageHandUp = new UIImageView();
return nullptr;
}
currentTimes->SetTextId(STR_CALLING); /* code */
-
+ imageMicrophone->SetStyle(STYLE_IMAGE_OPA, 97);
+
if(!Initshowdial())
{
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "CallingView::InitUILabelDisplay error");
}
else
{
+ return false;
view_->GetScreenView()->GetImageMicrophone()->SetSrc(PNG_230_MICROPHONE_CLOSE_IMAGE_PATH);
}
if(CallerLogModel::GetInstance()->GetCallSource() == CallerLogModel::CallSourceCat1)
}
else
{
+ return false;
view_->GetScreenView()->GetImageMicrophone()->SetSrc(PNG_230_MICROPHONE_OPEN_IMAGE_PATH);
}
if(CallerLogModel::GetInstance()->GetCallSource() == CallerLogModel::CallSourceCat1)
{
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MakephoneNotify 11111111 ");
cat1_call_answer();
+ //incomedcall_event_sendmsg_toUI("ok");
+
return true;
//#endif