mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Fix crash on screen rotation
This commit is contained in:
parent
0c63950429
commit
ab99c14fd2
@ -145,6 +145,12 @@ public class DownloadDialog extends DialogFragment
|
|||||||
// Instance creation
|
// Instance creation
|
||||||
//////////////////////////////////////////////////////////////////////////*/
|
//////////////////////////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
|
public DownloadDialog() {
|
||||||
|
// Just an empty default no-arg ctor to keep Fragment.instantiate() happy
|
||||||
|
// otherwise InstantiationException will be thrown when fragment is recreated
|
||||||
|
// TODO: Maybe use a custom FragmentFactory instead?
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new download dialog with the video, audio and subtitle streams from the provided
|
* Create a new download dialog with the video, audio and subtitle streams from the provided
|
||||||
* stream info. Video streams and video-only streams will be put into a single list menu,
|
* stream info. Video streams and video-only streams will be put into a single list menu,
|
||||||
|
Loading…
Reference in New Issue
Block a user