Commit 30958f70 by 严久程

Merge branch '声网通话流程优化' of…

Merge branch '声网通话流程优化' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into 声网通话流程优化
parents 2e7e5c09 ad26d576
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.29.9",
"m-user" : "0.0.60.8",
"m-home" : "0.0.22.3",
"m-im" : "0.0.18.5",
"m-im" : "0.0.18.7",
"m-dynamic" : "0.0.7.7",
"m-article" : "0.0.0.5",
......
......@@ -71,7 +71,7 @@ public class MsgViewHolderAVChat extends MsgViewHolderBase {
String textString = "";
switch (attachment.getState()) {
case Success: //成功接听
textString = TimeUtil.secToTime(attachment.getDuration());
textString = "通话接听时长 " + TimeUtil.secToTime(attachment.getDuration());
break;
case Missed: //未接听
case Rejected: //主动拒绝
......
......@@ -50,7 +50,11 @@ public class MsgViewHolderConsultCallStatus extends MsgViewHolderBase {
if (TextUtils.equals("1", customAttachTipMsg.getStatus())) {
typeImage.setVisibility(View.VISIBLE);
statusLabel.setText(customAttachTipMsg.getDuration());
if ("true".equals(customAttachTipMsg.getIsConsultOrder())) {
statusLabel.setText("通话接听时长 " + customAttachTipMsg.getDuration());
} else {
statusLabel.setText("通话拨打时长 " + customAttachTipMsg.getDuration());
}
} else {
typeImage.setVisibility(View.GONE);
if (isReceivedMessage()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment