diff options
Diffstat (limited to 'app/src/main/java/de/danoeh')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java | 5 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/view/LiftOnScrollListener.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java index 686be884c..71ba326dd 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java @@ -296,6 +296,11 @@ public class ImportExportPreferencesFragment extends PreferenceFragmentCompat { } private static class BackupDatabase extends ActivityResultContracts.CreateDocument { + + BackupDatabase() { + super("application/x-sqlite3"); + } + @NonNull @Override public Intent createIntent(@NonNull final Context context, @NonNull final String input) { diff --git a/app/src/main/java/de/danoeh/antennapod/view/LiftOnScrollListener.java b/app/src/main/java/de/danoeh/antennapod/view/LiftOnScrollListener.java index 1e53ee828..020fb40e8 100644 --- a/app/src/main/java/de/danoeh/antennapod/view/LiftOnScrollListener.java +++ b/app/src/main/java/de/danoeh/antennapod/view/LiftOnScrollListener.java @@ -41,7 +41,7 @@ public class LiftOnScrollListener extends RecyclerView.OnScrollListener } @Override - public void onScrollChange(NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { + public void onScrollChange(@NonNull NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { elevate(scrollY != 0); } |