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

Commit 76ff4648 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

Remove showCCButton API

Test: build
Change-Id: Iec4d53524e45f9077f691cef1c1ed89b2277cc36
parent fe4e4db4
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -160,13 +160,6 @@ public class MediaControlView2Impl implements MediaControlView2Provider {
        }
    }

    @Override
    public void showCCButton_impl() {
        if (mCCButton != null) {
            mCCButton.setVisibility(View.VISIBLE);
        }
    }

    @Override
    public boolean isPlaying_impl() {
        if (mPlaybackState != null) {
+0 −3
Original line number Diff line number Diff line
@@ -559,9 +559,6 @@ public class VideoView2Impl implements VideoView2Provider, VideoViewInterface.Su
    ///////////////////////////////////////////////////

    private void attachMediaControlView() {
        // TODO: change this so that the CC button appears only where there is a subtitle track.
        // mMediaControlView.showCCButton();

        // Get MediaController from MediaSession and set it inside MediaControlView
        mMediaControlView.setController(mMediaSession.getController());