Loading telecomm/java/android/telecom/InCallService.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -81,7 +81,8 @@ import java.util.List; * <pre> * <pre> * {@code * {@code * <service android:name="your.package.YourInCallServiceImplementation" * <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_UI" android:value="true" /> * <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING" * <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING" * android:value="true" /> * android:value="true" /> Loading @@ -91,6 +92,10 @@ import java.util.List; * </service> * </service> * } * } * </pre> * </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> * <p> * In addition to implementing the {@link InCallService} API, you must also declare an activity in * 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 * your manifest which handles the {@link Intent#ACTION_DIAL} intent. The example below illustrates Loading Loading
telecomm/java/android/telecom/InCallService.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -81,7 +81,8 @@ import java.util.List; * <pre> * <pre> * {@code * {@code * <service android:name="your.package.YourInCallServiceImplementation" * <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_UI" android:value="true" /> * <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING" * <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING" * android:value="true" /> * android:value="true" /> Loading @@ -91,6 +92,10 @@ import java.util.List; * </service> * </service> * } * } * </pre> * </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> * <p> * In addition to implementing the {@link InCallService} API, you must also declare an activity in * 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 * your manifest which handles the {@link Intent#ACTION_DIAL} intent. The example below illustrates Loading