Merge "TIAF: add JavaDoc for TvInteractiveAppServiceInfo constructor" into tm-dev

This commit is contained in:
Shubang Lu
2022-03-18 20:49:33 +00:00
committed by Android (Google) Code Review

View File

@@ -71,6 +71,12 @@ public final class TvInteractiveAppServiceInfo implements Parcelable {
private final String mId;
private int mTypes;
/**
* Constructs a TvInteractiveAppServiceInfo object.
*
* @param context the application context
* @param component the component name of the TvInteractiveAppService
*/
public TvInteractiveAppServiceInfo(@NonNull Context context, @NonNull ComponentName component) {
if (context == null) {
throw new IllegalArgumentException("context cannot be null.");