diff options
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 1cd9751d7..78c800d31 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -16,6 +16,7 @@ package com.android.incallui; +import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.telecomm.CallCapabilities; @@ -90,6 +91,16 @@ public class InCallPresenter implements CallList.Listener, InCallPhoneListener { listener.onDetailsChanged(details); } } + + @Override + public void onStartActivity(android.telecomm.Call call, PendingIntent intent) { + Log.i(this, "onStartActivity, intent: " + intent); + try { + intent.send(); + } catch (PendingIntent.CanceledException e) { + Log.e(this, "onStartActivity, exception", e); + } + } }; /** |