Merge "TIAF: add JavaDoc for TvInteractiveAppServiceInfo constructor" into tm-dev am: 6d26abc33d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17250843 Change-Id: I3c85fb0565a379a83a6566ad2791f5929efcca37
This commit is contained in:
@@ -71,6 +71,12 @@ public final class TvInteractiveAppServiceInfo implements Parcelable {
|
|||||||
private final String mId;
|
private final String mId;
|
||||||
private int mTypes;
|
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) {
|
public TvInteractiveAppServiceInfo(@NonNull Context context, @NonNull ComponentName component) {
|
||||||
if (context == null) {
|
if (context == null) {
|
||||||
throw new IllegalArgumentException("context cannot be null.");
|
throw new IllegalArgumentException("context cannot be null.");
|
||||||
|
|||||||
Reference in New Issue
Block a user