Loading media/java/android/media/tv/TvInputService.java +10 −7 Original line number Diff line number Diff line Loading @@ -598,10 +598,13 @@ public abstract class TvInputService extends Service { } /** * Sets the {@link Surface} for the current input session on which the TV input renders * video. * Sets the {@link Surface} for the current input session on which the TV input renders video. * <p> * When {@code setSurface(null)} is called, the implementation should stop using the Surface * object previously given and release any references to it. * * @param surface {@link Surface} an application passes to this TV input session. * @param surface possibly {@code null} {@link Surface} an application passes to this TV input * session. * @return {@code true} if the surface was set, {@code false} otherwise. */ public abstract boolean onSetSurface(Surface surface); Loading Loading
media/java/android/media/tv/TvInputService.java +10 −7 Original line number Diff line number Diff line Loading @@ -598,10 +598,13 @@ public abstract class TvInputService extends Service { } /** * Sets the {@link Surface} for the current input session on which the TV input renders * video. * Sets the {@link Surface} for the current input session on which the TV input renders video. * <p> * When {@code setSurface(null)} is called, the implementation should stop using the Surface * object previously given and release any references to it. * * @param surface {@link Surface} an application passes to this TV input session. * @param surface possibly {@code null} {@link Surface} an application passes to this TV input * session. * @return {@code true} if the surface was set, {@code false} otherwise. */ public abstract boolean onSetSurface(Surface surface); Loading