-
-
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
Dismiss download dialog correctly #6701
Conversation
I can't find the options in check, can you please send me a direct link? |
@Pass1Vlax look for "artifacts". I installed the new version. Was able to download a youtube video without problems. |
Works good for both SAF enabled or disabled case. |
@Pass1Vlax direct link |
It works, Good job! |
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.
Looks good to me
Works! You're the best! :P |
Thanks! Is it reasonable to ask for a bugfix release for this issue? It seems quite essential. |
I agree, it would help a lot of people that use this option |
@TeamNewPipe - Please release this fix as a hotfix-release on F-Droid. The bug makes NewPipe unusable on Android 10 and 11! :-( https://github.com/TeamNewPipe/NewPipe/actions/runs/1049264498 |
What is it?
Description of the changes in your PR
The first commit just reorders some methods in the
DownloadDialog
class and adds some comment section separators.The second commit fixes the
DownloadDialog
(which is aDialogFragment
) dismissing according to this thread: every reference togetDialog().dismiss()
is replaced with justdismiss()
. I also removed references togetDialog().setOnDismissListener()
and replaced them with a newonDismissListener
inDownloadDialog
, required byRouterActivity
to be able tofinish()
itself when the dialog dismisses. Then I removed the part of code that used tofinish()
theRouterActivity
inside theDownloadDialog
(it was in the wrong place), as that's now done correctly by the listener.Fixes the following issue(s)
Fixes #6667
Fixes #6256
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
@Pass1Vlax @khumarahn @skyGtm @TacoTheDank could you tell me if this works for you?
Due diligence