summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-08-19 16:28:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-16 03:51:48 +0000
commit50cddeca1f6f66ccc3dbfd526aee621e1b87a516 (patch)
treeee5cfdc5461ec7293e7d6015215644f10fe884c1 /telecomm
parentec4bb45a8c6ca4504483ce57577d8adc31cd0966 (diff)
parent2ac401093e5ebb975f14e5108d457c148370f7de (diff)
downloadframeworks_base-50cddeca1f6f66ccc3dbfd526aee621e1b87a516.zip
frameworks_base-50cddeca1f6f66ccc3dbfd526aee621e1b87a516.tar.gz
frameworks_base-50cddeca1f6f66ccc3dbfd526aee621e1b87a516.tar.bz2
Merge "Exposing in-call API to other implementing classes. (1/4)" into lmp-dev
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecomm/InCallService.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/android/telecomm/InCallService.java b/telecomm/java/android/telecomm/InCallService.java
index de05d1c..5795e0e 100644
--- a/telecomm/java/android/telecomm/InCallService.java
+++ b/telecomm/java/android/telecomm/InCallService.java
@@ -16,6 +16,7 @@
package android.telecomm;
+import android.annotation.SdkConstant;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
@@ -39,6 +40,13 @@ import java.lang.String;
* {@hide}
*/
public abstract class InCallService extends Service {
+
+ /**
+ * The {@link Intent} that must be declared as handled by the service.
+ */
+ @SdkConstant(SdkConstant.SdkConstantType.SERVICE_ACTION)
+ public static final String SERVICE_INTERFACE = "android.telecomm.InCallService";
+
private static final int MSG_SET_IN_CALL_ADAPTER = 1;
private static final int MSG_ADD_CALL = 2;
private static final int MSG_UPDATE_CALL = 3;