diff options
author | Sailesh Nepal <sail@google.com> | 2014-07-11 19:32:22 -0700 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2014-07-11 19:32:22 -0700 |
commit | d073d72017fd652f84071fecd73456160cd4daeb (patch) | |
tree | 1c14284baf0a60d054a8c0fe6f2274882cd0584e /InCallUI/src/com/android/incallui/InCallServiceImpl.java | |
parent | 875f3500a284420f00455fe7adf2a9df07f272f0 (diff) |
Misc Telecomm API changes: InCallUI
This CL hooks up the new APIs introduced in ag/501321 to the
InCallUI.
Change-Id: Iaffe0b84cea6003f2a9b9d8b30676743d2b236d4
Diffstat (limited to 'InCallUI/src/com/android/incallui/InCallServiceImpl.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallServiceImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
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()); |