From d073d72017fd652f84071fecd73456160cd4daeb Mon Sep 17 00:00:00 2001 From: Sailesh Nepal Date: Fri, 11 Jul 2014 19:32:22 -0700 Subject: Misc Telecomm API changes: InCallUI This CL hooks up the new APIs introduced in ag/501321 to the InCallUI. Change-Id: Iaffe0b84cea6003f2a9b9d8b30676743d2b236d4 --- InCallUI/src/com/android/incallui/InCallServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'InCallUI/src/com/android/incallui/InCallServiceImpl.java') diff --git a/InCallUI/src/com/android/incallui/InCallServiceImpl.java b/InCallUI/src/com/android/incallui/InCallServiceImpl.java index 123e981b1..9fed90cb4 100644 --- a/InCallUI/src/com/android/incallui/InCallServiceImpl.java +++ b/InCallUI/src/com/android/incallui/InCallServiceImpl.java @@ -119,6 +119,9 @@ public class InCallServiceImpl extends InCallService { private void updateCall(Call call, InCallCall telecommCall) { call.setHandle(telecommCall.getHandle()); + call.setNumberPresentation(telecommCall.getHandlePresentation()); + call.setCnapName(telecommCall.getCallerDisplayName()); + call.setCnapNamePresentation(telecommCall.getCallerDisplayNamePresentation()); call.setDisconnectCause(telecommCall.getDisconnectCauseCode()); call.setCannedSmsResponses(telecommCall.getCannedSmsResponses()); call.setCapabilities(telecommCall.getCapabilities()); @@ -129,7 +132,6 @@ public class InCallServiceImpl extends InCallService { call.setState(translateState(telecommCall.getState())); call.setParentId(telecommCall.getParentCallId()); call.setChildCallIds(telecommCall.getChildCallIds()); - call.setFeatures(telecommCall.getFeatures()); try { call.setCallVideoProvider(telecommCall.getCallVideoProvider()); -- cgit v1.2.3