Loading core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -28054,7 +28054,7 @@ package android.media.tv.ad { method public void sendSigningResult(@NonNull String, @NonNull byte[]); method public void sendTrackInfoList(@Nullable java.util.List<android.media.tv.TvTrackInfo>); method public void setCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.ad.TvAdView.TvAdCallback); method public void setOnUnhandledInputEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.ad.TvAdView.OnUnhandledInputEventListener); method public void setOnUnhandledInputEventListener(@NonNull android.media.tv.ad.TvAdView.OnUnhandledInputEventListener); method public boolean setTvView(@Nullable android.media.tv.TvView); method public void startAdService(); method public void stopAdService(); media/java/android/media/tv/ad/TvAdView.java +2 −6 Original line number Diff line number Diff line Loading @@ -393,16 +393,12 @@ public class TvAdView extends ViewGroup { } /** * Sets a listener to be invoked when an input event is not handled * by the TV AD service. * Sets a listener to be invoked when an input event is not handled by the TV AD service. * * @param listener The callback to be invoked when the unhandled input event is received. */ public void setOnUnhandledInputEventListener( @NonNull @CallbackExecutor Executor executor, @NonNull OnUnhandledInputEventListener listener) { public void setOnUnhandledInputEventListener(@NonNull OnUnhandledInputEventListener listener) { mOnUnhandledInputEventListener = listener; // TODO: handle CallbackExecutor } /** Loading Loading
core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -28054,7 +28054,7 @@ package android.media.tv.ad { method public void sendSigningResult(@NonNull String, @NonNull byte[]); method public void sendTrackInfoList(@Nullable java.util.List<android.media.tv.TvTrackInfo>); method public void setCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.ad.TvAdView.TvAdCallback); method public void setOnUnhandledInputEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.tv.ad.TvAdView.OnUnhandledInputEventListener); method public void setOnUnhandledInputEventListener(@NonNull android.media.tv.ad.TvAdView.OnUnhandledInputEventListener); method public boolean setTvView(@Nullable android.media.tv.TvView); method public void startAdService(); method public void stopAdService();
media/java/android/media/tv/ad/TvAdView.java +2 −6 Original line number Diff line number Diff line Loading @@ -393,16 +393,12 @@ public class TvAdView extends ViewGroup { } /** * Sets a listener to be invoked when an input event is not handled * by the TV AD service. * Sets a listener to be invoked when an input event is not handled by the TV AD service. * * @param listener The callback to be invoked when the unhandled input event is received. */ public void setOnUnhandledInputEventListener( @NonNull @CallbackExecutor Executor executor, @NonNull OnUnhandledInputEventListener listener) { public void setOnUnhandledInputEventListener(@NonNull OnUnhandledInputEventListener listener) { mOnUnhandledInputEventListener = listener; // TODO: handle CallbackExecutor } /** Loading