display full uri for incall view in case of no display and no userinfo
This commit is contained in:
parent
2667abcdea
commit
4ddd927458
1 changed files with 3 additions and 1 deletions
|
@ -449,8 +449,10 @@ public class DialerActivity extends Activity implements LinphoneCoreListener {
|
||||||
String DisplayName = remote.getDisplayName();
|
String DisplayName = remote.getDisplayName();
|
||||||
if (DisplayName!=null) {
|
if (DisplayName!=null) {
|
||||||
mDisplayNameView.setText(DisplayName);
|
mDisplayNameView.setText(DisplayName);
|
||||||
} else {
|
} else if (lc.getRemoteAddress().getUserName() != null){
|
||||||
mDisplayNameView.setText(lc.getRemoteAddress().getUserName());
|
mDisplayNameView.setText(lc.getRemoteAddress().getUserName());
|
||||||
|
} else {
|
||||||
|
mDisplayNameView.setText(lc.getRemoteAddress().toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mSpeaker.isChecked()) {
|
if (mSpeaker.isChecked()) {
|
||||||
|
|
Loading…
Reference in a new issue