diff options
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java index 01fcfe83d..6a97adcc3 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/ImportExportActivity.java @@ -94,12 +94,11 @@ public class ImportExportActivity extends AppCompatActivity { if (resultCode != RESULT_OK || resultData == null) { return; } + Uri uri = resultData.getData(); if (requestCode == REQUEST_CODE_RESTORE) { - Uri uri = resultData.getData(); restoreFrom(uri); } else if (requestCode == REQUEST_CODE_BACKUP_DOCUMENT) { - Uri uri = resultData.getData(); backupToDocument(uri); } } |