~singpolyma/cheogram-android

f1f08c7aa11bc7987afe8754aa6a4d0ab06fb2de — Stephen Paul Weber 4 months ago 2cc971d
Set display name to that of contact (not self) for incoming call
1 files changed, 4 insertions(+), 0 deletions(-)

M src/cheogram/java/com/cheogram/android/ConnectionService.java
M src/cheogram/java/com/cheogram/android/ConnectionService.java => src/cheogram/java/com/cheogram/android/ConnectionService.java +4 -0
@@ 190,6 190,10 @@ public class ConnectionService extends android.telecom.ConnectionService {
			Uri.fromParts("tel", with.getLocal(), null),
			TelecomManager.PRESENTATION_ALLOWED
		);
		connection.setCallerDisplayName(
			account.getRoster().getContact(with).getDisplayName(),
			TelecomManager.PRESENTATION_ALLOWED
		);
		connection.setRinging();

		xmppConnectionService.setOnRtpConnectionUpdateListener(connection);