From e1ef2a643a9b86791c87ee176f687f8c34cba79e Mon Sep 17 00:00:00 2001 From: Taco Date: Sat, 9 Mar 2024 04:56:58 -0500 Subject: Update AndroidX libraries (#6940) --- .../fragment/preferences/ImportExportPreferencesFragment.java | 5 +++++ .../main/java/de/danoeh/antennapod/view/LiftOnScrollListener.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'app/src/main') 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); } -- cgit v1.2.3