Merge "Add @NonNull annotation per API Council's suggestion" into rvc-dev
This commit is contained in:
@@ -29356,9 +29356,9 @@ package android.media.tv {
|
|||||||
public abstract class TvInputService extends android.app.Service {
|
public abstract class TvInputService extends android.app.Service {
|
||||||
ctor public TvInputService();
|
ctor public TvInputService();
|
||||||
method public final android.os.IBinder onBind(android.content.Intent);
|
method public final android.os.IBinder onBind(android.content.Intent);
|
||||||
method @Nullable public android.media.tv.TvInputService.RecordingSession onCreateRecordingSession(String);
|
method @Nullable public android.media.tv.TvInputService.RecordingSession onCreateRecordingSession(@NonNull String);
|
||||||
method @Nullable public android.media.tv.TvInputService.RecordingSession onCreateRecordingSession(@NonNull String, @NonNull String);
|
method @Nullable public android.media.tv.TvInputService.RecordingSession onCreateRecordingSession(@NonNull String, @NonNull String);
|
||||||
method @Nullable public abstract android.media.tv.TvInputService.Session onCreateSession(String);
|
method @Nullable public abstract android.media.tv.TvInputService.Session onCreateSession(@NonNull String);
|
||||||
method @Nullable public android.media.tv.TvInputService.Session onCreateSession(@NonNull String, @NonNull String);
|
method @Nullable public android.media.tv.TvInputService.Session onCreateSession(@NonNull String, @NonNull String);
|
||||||
field public static final int PRIORITY_HINT_USE_CASE_TYPE_BACKGROUND = 100; // 0x64
|
field public static final int PRIORITY_HINT_USE_CASE_TYPE_BACKGROUND = 100; // 0x64
|
||||||
field public static final int PRIORITY_HINT_USE_CASE_TYPE_LIVE = 400; // 0x190
|
field public static final int PRIORITY_HINT_USE_CASE_TYPE_LIVE = 400; // 0x190
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ public abstract class TvInputService extends Service {
|
|||||||
* @param inputId The ID of the TV input associated with the session.
|
* @param inputId The ID of the TV input associated with the session.
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
public abstract Session onCreateSession(String inputId);
|
public abstract Session onCreateSession(@NonNull String inputId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a concrete implementation of {@link RecordingSession}.
|
* Returns a concrete implementation of {@link RecordingSession}.
|
||||||
@@ -251,7 +251,7 @@ public abstract class TvInputService extends Service {
|
|||||||
* @param inputId The ID of the TV input associated with the recording session.
|
* @param inputId The ID of the TV input associated with the recording session.
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
public RecordingSession onCreateRecordingSession(String inputId) {
|
public RecordingSession onCreateRecordingSession(@NonNull String inputId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user