Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1c025cb authored by Wonsik Kim's avatar Wonsik Kim
Browse files

Change visibility of TvInputManager.Session.setSurface()

Change the visibility from package private to @hide public. This is
to enable use case of TvInputServices wrapping another
TvInputServices so that it can pass the Surface object it has to the
wrapped service.

Change-Id: Ib1cdc4992a26f2adca099077cb9fa7f8b41c3163
parent f65bfe3b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -391,8 +391,9 @@ public final class TvInputManager {
         *
         *
         * @param surface A {@link android.view.Surface} used to render video.
         * @param surface A {@link android.view.Surface} used to render video.
         * @throws IllegalStateException if the session has been already released.
         * @throws IllegalStateException if the session has been already released.
         * @hide
         */
         */
        void setSurface(Surface surface) {
        public void setSurface(Surface surface) {
            if (mToken == null) {
            if (mToken == null) {
                throw new IllegalStateException("the session has been already released");
                throw new IllegalStateException("the session has been already released");
            }
            }