|
@@ -155,14 +155,18 @@ public class FragmentAudio extends SingleCallFragment implements View.OnClickLis
|
|
|
if (interactionVO.getFromClerkId() == null) {
|
|
|
if (TextUtils.isEmpty(interactionVO.getFromMemberName())) {
|
|
|
showName = interactionVO.getFromFrameFullName();
|
|
|
+
|
|
|
+ if (!isOutgoing) {
|
|
|
+ hangupLinearLayout.setVisibility(View.VISIBLE);
|
|
|
+ }
|
|
|
} else {
|
|
|
showName = interactionVO.getFromFrameFullName() + " " + interactionVO.getFromMemberName();
|
|
|
- }
|
|
|
- portraitImageView.setImageResource(R.drawable.face_customer);
|
|
|
|
|
|
- if (!isOutgoing && Constants.Companion.getUserRoleName().contains("护士") || Constants.Companion.getUserRoleName().contains("组长")) {
|
|
|
- transLinearLayout.setVisibility(View.VISIBLE);
|
|
|
+ if (!isOutgoing && Constants.Companion.getUserRoleName() != null && (Constants.Companion.getUserRoleName().contains("护士") || Constants.Companion.getUserRoleName().contains("组长"))) {
|
|
|
+ transLinearLayout.setVisibility(View.VISIBLE);
|
|
|
+ }
|
|
|
}
|
|
|
+ portraitImageView.setImageResource(R.drawable.face_customer);
|
|
|
}
|
|
|
//是同事
|
|
|
else {
|