-
-
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
Fix crash when no browser is present and use an ACTION_CHOOSER intent in the app update notification #5429
Conversation
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.
Thank you.
Since you are now returning null
, we need to add checks whenever the methods are used. Running the current implementation just elevates the NPEs up in the call hierarchy.
@TobiGr Is what I've done better? |
Yes, that looks good. Please update the JDoc to not contain the |
@TobiGr Done. What do you think of the string shown in the toast ( |
… for app update notification Show a Toast when no app is present on user's device to open a content in an app and in a browser and use an ACTION_CHOOSER intent with the ACTION_VIEW intent put as an extra intent in the update notification.
@TobiGr This should be now fixed. Also, can you change in 0.20.9 changelog the sentence |
@TobiGr String and its French translation changed. |
I changed that in the GitHub release notes, but I cannot change the fastlane / F-Droid changelog, because that has a size of 497 bytes. 500 are allowed, so adding more characters will cause the other parts of the release notes to be cut off. |
Sorry for doing all changes in separate commits, I am on my phone and I can only use Github Web Editor right now. |
No problem. There is a squash & merge button ;) |
… in the app update notification (TeamNewPipe/NewPipe#5429) Fix crash when no browser is present and use an ACTION_CHOOSER intent for app update notification Show a Toast when no app is present on user's device to open a content in an app and in a browser and use an ACTION_CHOOSER intent with the ACTION_VIEW intent put as an extra intent in the update notification.
What is it?
Description of the changes in your PR
Show a Toast when no app is present on user's device to open a content in an app and in a browser and use an ACTION_CHOOSER intent with the ACTION_VIEW intent put as an extra intent in the update notification.
Fixes the following issue(s)
#5187 (comment)
Due diligence