From d9e616beeea10f6483744d94431465ece3f4daef Mon Sep 17 00:00:00 2001 From: Somethingweirdhere Date: Tue, 17 Apr 2018 22:26:24 +0200 Subject: [PATCH] Fixed crash when trying to open a downloaded file without a player --- .../org/schabi/newpipe/settings/ContentSettingsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/settings/ContentSettingsFragment.java b/app/src/main/java/org/schabi/newpipe/settings/ContentSettingsFragment.java index f0ab3bc03..6bcd2ffb9 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/ContentSettingsFragment.java +++ b/app/src/main/java/org/schabi/newpipe/settings/ContentSettingsFragment.java @@ -197,7 +197,7 @@ public class ContentSettingsFragment extends BasePreferenceFragment { new FileOutputStream(path))); ZipHelper.addFileToZip(outZip, newpipe_db.getPath(), "newpipe.db"); ZipHelper.addFileToZip(outZip, newpipe_db_journal.getPath(), "newpipe.db-journal"); - + //add settings outZip.close(); Toast.makeText(getContext(), R.string.export_complete_toast, Toast.LENGTH_SHORT)