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

VideoDetailFragment: Don't exit fullscreen on rotation in tablet UI #4939

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

Atemu
Copy link
Contributor

@Atemu Atemu commented Nov 20, 2020

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Going from portrait to landscape doesn't toggle fullscreen in tablet mode, so
the reverse action shouldn't do it either.

Fixes the following issue(s)

Relies on the following changes

APK testing

(Upload doesn't work, gets stuck :/)

€: It was localCDN

app-debug.apk.zip

Due diligence

Fixes TeamNewPipe#4936

Going from portrait to landscape doesn't toggle fullscreen in tablet mode, so
the reverse action shouldn't do it either.
@TobiGr TobiGr added bug Issue is related to a bug player Issues related to any player (main, popup and background) labels Nov 20, 2020
@opusforlife2
Copy link
Collaborator

(Upload doesn't work, gets stuck :/)

If you're using uBO, have you allowed the required domain?

@MD77MD
Copy link

MD77MD commented Nov 22, 2020

I think there should be a toggle for this as there are others who prefer the original behavior

@Atemu
Copy link
Contributor Author

Atemu commented Nov 22, 2020

I can't imagine a single scenario where you'd went the previous behavior (it was awful honestly) and I therefore don't think it's worth bloating the options for.

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you ;-)
Can we merge this @TobiGr ?

@TobiGr
Copy link
Member

TobiGr commented Jan 14, 2021

We can merge this, but DeviceUtils.isTV() and DeviceUtils.isTablet() are not completely reliable.

@TobiGr TobiGr merged commit 8fd48a8 into TeamNewPipe:dev Jan 14, 2021
This was referenced Jan 18, 2021
tossj pushed a commit to tossj/NewPipe-legacy that referenced this pull request Apr 20, 2021
…screen-on-rotation

VideoDetailFragment: Don't exit fullscreen on rotation in tablet UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants