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

Commit 618505ef authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "VV2 and MCV2: Override onLayout of ViewGroup and remove MCV2.isShowing()"

parents 489b3604 d98f6dbd
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -148,11 +148,6 @@ public class MediaControlView2Impl extends BaseLayout implements MediaControlVie
        }
    }

    @Override
    public boolean isShowing_impl() {
        return (mInstance.getVisibility() == View.VISIBLE) ? true : false;
    }

    @Override
    public void setButtonVisibility_impl(int button, int visibility) {
        switch (button) {
+1 −1
Original line number Diff line number Diff line
@@ -693,7 +693,7 @@ public class VideoView2Impl extends BaseLayout
    }

    private void toggleMediaControlViewVisibility() {
        if (mMediaControlView.isShowing()) {
        if (mMediaControlView.getVisibility() == View.VISIBLE) {
            mMediaControlView.setVisibility(View.GONE);
        } else {
            mMediaControlView.setVisibility(View.VISIBLE);