summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-06-30 12:58:38 -0700
committerAndrew Lee <anwlee@google.com>2014-06-30 12:58:38 -0700
commit2615ccf19ccd67fa0086786803773a8fc95aa16f (patch)
treeb3b63568c0789d0b5ade09a010c10ddb2d97bdec /InCallUI
parentfee217719c920f7428553c7cc55fc73971c3b408 (diff)
Catch RemoteException in InCallServiceImpl.
(fix build breakage) Bug: 15893156 Change-Id: I46a9b4f51a447ce9e11e0aa609b7d3dbfd87096e
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/src/com/android/incallui/InCallServiceImpl.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallServiceImpl.java b/InCallUI/src/com/android/incallui/InCallServiceImpl.java
index e8b03fbb7..a76afa293 100644
--- a/InCallUI/src/com/android/incallui/InCallServiceImpl.java
+++ b/InCallUI/src/com/android/incallui/InCallServiceImpl.java
@@ -16,6 +16,7 @@
package com.android.incallui;
+import android.os.RemoteException;
import android.telecomm.CallAudioState;
import android.telecomm.CallState;
import android.telecomm.InCallAdapter;
@@ -126,10 +127,15 @@ public class InCallServiceImpl extends InCallService {
call.setSubscription(telecommCall.getSubscription());
call.setCurrentCallServiceDescriptor(telecommCall.getCurrentCallServiceDescriptor());
call.setHandoffCallServiceDescriptor(telecommCall.getHandoffCallServiceDescriptor());
- call.setCallVideoProvider(telecommCall.getCallVideoProvider());
call.setState(translateState(telecommCall.getState()));
call.setParentId(telecommCall.getParentCallId());
call.setChildCallIds(telecommCall.getChildCallIds());
+
+ try {
+ call.setCallVideoProvider(telecommCall.getCallVideoProvider());
+ } catch (RemoteException ignore) {
+ // Do nothing.
+ }
}
private static int translateState(CallState state) {