Add support for text messages
Change-Id: I3883de331fd881133e29755fde3c7b772823ad70
diff --git a/src/com/android/phone/CallHandlerServiceProxy.java b/src/com/android/phone/CallHandlerServiceProxy.java
index 2762c98..165e693 100644
--- a/src/com/android/phone/CallHandlerServiceProxy.java
+++ b/src/com/android/phone/CallHandlerServiceProxy.java
@@ -34,6 +34,7 @@
import com.android.services.telephony.common.ICallHandlerService;
import com.android.services.telephony.common.ICallCommandService;
+import java.util.ArrayList;
import java.util.List;
/**
@@ -78,6 +79,17 @@
}
@Override
+ public void onIncoming(Call call, ArrayList<String> textResponses) {
+ if (mCallHandlerService != null) {
+ try {
+ mCallHandlerService.onIncoming(call, textResponses);
+ } catch (RemoteException e) {
+ Log.e(TAG, "Remote exception handling onUpdate", e);
+ }
+ }
+ }
+
+ @Override
public void onUpdate(List<Call> calls, boolean fullUpdate) {
if (mCallHandlerService != null) {
try {