Code review from 胡传军
* refs/changes/1137/head: (4 commits squashed)
- 计算器修改,解决double计算精度不够,导致计算出现多余小数位,#963
- sos增加适配HFP呼叫,呼叫备注显示#933 #932
- Merge branch 'sdk602patch0626' of https://codeup.aliyun.com/
64191456b9581d62e8f81ac0/FD230 into 0626
- 计算器修改,改为删除仅删除一位 #905 目标同步修改 #921
Signed-off-by: aliyun8003852482 <1224667075@qq.com>
Reviewed-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Merged-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/1137
text_buf[number_string.length()-1]='\0';
number_string=text_buf;
number->SetText(text_buf);
- number->SetAlign(TEXT_ALIGNMENT_RIGHT, TEXT_ALIGNMENT_CENTER);
if(number_falg==0)
{
CalculatorModel::GetInstance()->symbol_stack_pop();
CallerLogModel::GetInstance()->SetCallSource(CallerLogModel::CallSource::CallSourcePhone);
DisshakeTimer();
+
+
// If the call is handling in the notification, the slice is not switched
if (!CallerLogModel::GetInstance()->GetNotifyFlag())
{
PhoneServiceScreenCtr(false);
if(NativeAbility::GetInstance().GetCurSliceId() == VIEW_INCOMING_CALL)
{
+
NativeAbility::GetInstance().Back_CountSlice_make_phone();
}
}
}
}
+
strcpy_s(name,NAME_LEN+1,"未知");
return false;
}
{
if (NotificationManager::GetInstance()->GetWatchCallStatus())
{
- if(get_falg_SOS())
+ if(get_falg_SOS())
{
addcalllog();
sos_falg_add();
}
else
{
- if(CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourcePhone)
- {
- addcalllog();
- }
- else if(uapi_dev_runtime_get_train_status() || transmittingISShow())
- {
- addcalllog();
- StatusReset();
- }
- else
- {
- uapi_cat1_stop_volte_voice();
-
- addcalllog();
- StatusReset();
- }
+ if(CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourcePhone)
+ {
+ addcalllog();
}
-
+ else if(uapi_dev_runtime_get_train_status() || transmittingISShow())
+ {
+ addcalllog();
+ StatusReset();
+ }
+ else
+ {
+ uapi_cat1_stop_volte_voice();
+
+ addcalllog();
+ StatusReset();
+}
+ }
+
}
DisableCallTimer(CallTimerType::NOTIFY_PHONE_DIAL_DISPLAY);
}