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

Fix minimize on app switch always opens popup #5502

Merged
merged 4 commits into from Jan 28, 2021

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Jan 28, 2021

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

break;s were missing from a switch statement 🤦‍♂️
While I was at it I also fixed some warnings and did other consistency improvements.

Fixes the following issue(s)

Fixes the comment #5455 (comment)

Due diligence

@Stypox Stypox mentioned this pull request Jan 28, 2021
14 tasks
@TobiGr TobiGr added bug Issue is related to a bug player Issues related to any player (main, popup and background) labels Jan 28, 2021
Copy link
Member

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

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

Code looks good

@@ -3822,11 +3823,14 @@ private void onFragmentStopped() {
switch (getMinimizeOnExitAction(context)) {
case MINIMIZE_ON_EXIT_MODE_BACKGROUND:
useVideoSource(false);
break;
Copy link
Member

Choose a reason for hiding this comment

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

wow.

@Stypox Stypox merged commit 0d522aa into TeamNewPipe:dev Jan 28, 2021
tossj pushed a commit to tossj/NewPipe-legacy that referenced this pull request Apr 21, 2021
Fix minimize on app switch always opens popup
@Stypox Stypox deleted the fix-minimize branch August 4, 2022 09:47
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.

None yet

3 participants