diff options
author | Shuo Qian <shuoq@google.com> | 2021-03-01 16:46:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-03-01 16:46:36 +0000 |
commit | b7cc3c61066e5019e79a3b7dc80d0193e39f23de (patch) | |
tree | f6e431ac42325c65ee6c0568d11652e60a9b5f9d /telecomm/java/android/telecom/InCallService.java | |
parent | 19f7526c3e20af7514bb7bb49cd0c4c72ace1b60 (diff) | |
parent | 7a2b711b0036bfef45fab07bd15eba5f869393e2 (diff) |
Merge "Companion InCallService API review"
Diffstat (limited to 'telecomm/java/android/telecom/InCallService.java')
-rw-r--r-- | telecomm/java/android/telecom/InCallService.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/InCallService.java b/telecomm/java/android/telecom/InCallService.java index 07de61759d59..0ff288b1ac63 100644 --- a/telecomm/java/android/telecom/InCallService.java +++ b/telecomm/java/android/telecom/InCallService.java @@ -138,6 +138,24 @@ import java.util.List; * } * } * } + * + * </pre> + * <p id="companionInCallService"> + * <h3>Access to InCallService for Wearable Devices</h3> + * <ol> + * If your app is a third-party companion app and wants to access InCallService APIs, what your + * app could do are: + * <p> + * <ol> + * <li> Declare MANAGE_ONGOING_CALLS permission in your manifest + * <li> Associate with a physical wearable device via the + * {@link android.companion.CompanionDeviceManager} API as a companion app. See: + * https://developer.android.com/guide/topics/connectivity/companion-device-pairing + * <li> Implement this InCallService with BIND_INCALL_SERVICE permission + * </ol> + * </ol> + * <p> + * * </pre> * <p id="incomingCallNotification"> * <h3>Showing the Incoming Call Notification</h3> |