-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Block the gesture when touch it from NavigationBar or StatusBar. #3337
Block the gesture when touch it from NavigationBar or StatusBar. #3337
Conversation
Works as intended and code looks good to me. |
Oops, I moved the method to the correct position. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks fine, other than that small thing. Could you squash your commits?
app/src/main/java/org/schabi/newpipe/player/MainVideoPlayer.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's good now, but again: could you squash your commits?
Edit: I did it myself
Follow Checkstyle Move to PlayerGestureListener from VideoPlayerImpl Update app/src/main/java/org/schabi/newpipe/player/MainVideoPlayer.java Co-authored-by: wb9688 <46277131+wb9688@users.noreply.github.com>
603751a
to
0abd2bc
Compare
What is it?
Long description of the changes in your PR
We can view them by swiping up from the navigation bar or swiping down from the status bar, without having to tap the screen on the player screen.
Until now, when you made such a move, the gesture got in the way and it didn't work well.
This PR will allow you to block gestures initiated from the navigation bar and status bar.
Testing apk
blocking-gesture.zip
Agreement