Merge "Add @NonNull annotation per API Council's suggestion" into rvc-dev am: 282b5c2043
Change-Id: I4f4245e81e82dbb44d43d6d5c67c71e317bc4d01
This commit is contained in:
@@ -29356,9 +29356,9 @@ package android.media.tv {
|
||||
public abstract class TvInputService extends android.app.Service {
|
||||
ctor public TvInputService();
|
||||
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 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);
|
||||
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
|
||||
|
||||
@@ -240,7 +240,7 @@ public abstract class TvInputService extends Service {
|
||||
* @param inputId The ID of the TV input associated with the session.
|
||||
*/
|
||||
@Nullable
|
||||
public abstract Session onCreateSession(String inputId);
|
||||
public abstract Session onCreateSession(@NonNull String inputId);
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@Nullable
|
||||
public RecordingSession onCreateRecordingSession(String inputId) {
|
||||
public RecordingSession onCreateRecordingSession(@NonNull String inputId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user