Fixed crash when trying to open a downloaded file without a player
This commit is contained in:
parent
696c94050d
commit
d9e616beee
|
@ -197,7 +197,7 @@ public class ContentSettingsFragment extends BasePreferenceFragment {
|
||||||
new FileOutputStream(path)));
|
new FileOutputStream(path)));
|
||||||
ZipHelper.addFileToZip(outZip, newpipe_db.getPath(), "newpipe.db");
|
ZipHelper.addFileToZip(outZip, newpipe_db.getPath(), "newpipe.db");
|
||||||
ZipHelper.addFileToZip(outZip, newpipe_db_journal.getPath(), "newpipe.db-journal");
|
ZipHelper.addFileToZip(outZip, newpipe_db_journal.getPath(), "newpipe.db-journal");
|
||||||
|
//add settings
|
||||||
outZip.close();
|
outZip.close();
|
||||||
|
|
||||||
Toast.makeText(getContext(), R.string.export_complete_toast, Toast.LENGTH_SHORT)
|
Toast.makeText(getContext(), R.string.export_complete_toast, Toast.LENGTH_SHORT)
|
||||||
|
|
Loading…
Reference in New Issue