diff options
author | Brad Ebinger <breadley@google.com> | 2021-09-07 17:28:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-09-07 17:28:24 +0000 |
commit | 733dd0f1e9e64493b167b9d3b771520dcfed0a13 (patch) | |
tree | a1533a2c3e8c48c0d3c87b6cc7d44db55421ca3e | |
parent | b494e43d1f0062f231217b86cfb76676e01f9b93 (diff) | |
parent | 84421d74dbb64a305026868551ac8f67984da2da (diff) | |
download | base-733dd0f1e9e64493b167b9d3b771520dcfed0a13.tar.gz |
Merge "Update API docs for InCallService."
-rw-r--r-- | telecomm/java/android/telecom/InCallService.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/InCallService.java b/telecomm/java/android/telecom/InCallService.java index 5e3d26a5179d..705b4918726e 100644 --- a/telecomm/java/android/telecom/InCallService.java +++ b/telecomm/java/android/telecom/InCallService.java @@ -81,7 +81,8 @@ import java.util.List; * <pre> * {@code * <service android:name="your.package.YourInCallServiceImplementation" - * android:permission="android.permission.BIND_INCALL_SERVICE"> + * android:permission="android.permission.BIND_INCALL_SERVICE" + * android:exported="true"> * <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true" /> * <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING" * android:value="true" /> @@ -91,6 +92,10 @@ import java.util.List; * </service> * } * </pre> + * + * <em>Note: You should NOT mark your {@link InCallService} with the attribute + * {@code android:exported="false"}; doing so can result in a failure to bind to your implementation + * during calls.</em> * <p> * In addition to implementing the {@link InCallService} API, you must also declare an activity in * your manifest which handles the {@link Intent#ACTION_DIAL} intent. The example below illustrates |