Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Remove centerInfoWrapper clickListener then volume and brightness gesture not work #46

Open
JaydevHungama opened this issue Sep 10, 2019 · 1 comment

Comments

@JaydevHungama
Copy link

Help me with one of them

  1. When Remove centerInfoWrapper clickListener then volume and brightness gesture not work.

  2. with centerInfoWrapper clickListener gesture is work but play/pause other control not responding some time... can u explain me below about below function???

private void playOrPause() {

        System.arraycopy(mHits, 1, mHits, 0, mHits.length - 1);
        mHits[mHits.length - 1] = SystemClock.uptimeMillis();

        if (500 > (SystemClock.uptimeMillis() - mHits[0])) {
            controlDispatcher.dispatchSetPlayWhenReady(player, !player.getPlayWhenReady());
        }

    }
@JarvanMo
Copy link
Owner

I'll have a check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants