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 mute button causing crashes on API 19 #3322

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Apr 1, 2020

What is it?

  • Bug fix 🔥
  • Feature

Long description of the changes in your PR

Fixes crashes when instantiating the background and popup queues, due to a problem in obtaining and setting the drawable to the menu icon on API 19.
Note: using rootView.getContext() because getApplicationContext() didn't work (it was probably missing information about theme)

Fixes the following issue(s)

Testing apk

I tested this fix on Android 4.4 (API 19, emulator) and Android 7.1 (phone). @Anotherlife could you test this apk?
app-debug.zip

Agreement

Using rootView.getContext() because getApplicationContext() didn't work (it was probably missing information about theme)
@Stypox Stypox added ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug GUI Issue is related to the graphical user interface labels Apr 1, 2020
@ghost
Copy link

ghost commented Apr 1, 2020

I have test this apk and problem is fix, thanks.

@VGkav
Copy link

VGkav commented Apr 1, 2020

It didn't crash!

@TobiGr TobiGr merged commit 06a897f into TeamNewPipe:dev Apr 1, 2020
@Stypox Stypox deleted the fix-mute-button branch August 4, 2022 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug GUI Issue is related to the graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when trying to switch to my currently playing playlist
3 participants