Merge "Deprecate AbstractRemoteService"

This commit is contained in:
Eugene Susla
2020-11-24 01:56:12 +00:00
committed by Android (Google) Code Review
3 changed files with 9 additions and 0 deletions

View File

@@ -33,7 +33,10 @@ import java.util.List;
*
* @param <S> the concrete remote service class
* @param <I> the interface of the binder service
*
* @deprecated Use {@link ServiceConnector} to manage remote service connections
*/
@Deprecated
public abstract class AbstractMultiplePendingRequestsRemoteService<S
extends AbstractMultiplePendingRequestsRemoteService<S, I>, I extends IInterface>
extends AbstractRemoteService<S, I> {

View File

@@ -58,9 +58,12 @@ import java.util.ArrayList;
* @param <S> the concrete remote service class
* @param <I> the interface of the binder service
*
* @deprecated Use {@link ServiceConnector} to manage remote service connections
*
* @hide
*/
//TODO(b/117779333): improve javadoc above instead of using Autofill as an example
@Deprecated
public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I>,
I extends IInterface> implements DeathRecipient {
private static final int MSG_BIND = 1;

View File

@@ -33,8 +33,11 @@ import java.io.PrintWriter;
* @param <S> the concrete remote service class
* @param <I> the interface of the binder service
*
* @deprecated Use {@link ServiceConnector} to manage remote service connections
*
* @hide
*/
@Deprecated
public abstract class AbstractSinglePendingRequestRemoteService<S
extends AbstractSinglePendingRequestRemoteService<S, I>, I extends IInterface>
extends AbstractRemoteService<S, I> {