diff options
author | Taco <SkytkRSfan3895@gmail.com> | 2024-03-09 04:56:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 10:56:58 +0100 |
commit | e1ef2a643a9b86791c87ee176f687f8c34cba79e (patch) | |
tree | 7cf5212767600f4b406184e694f5a18be37250fd /app/src/main/java/de/danoeh | |
parent | b2718a9a121c2dce09a3b3474df75f802c54ce67 (diff) | |
download | AntennaPod-e1ef2a643a9b86791c87ee176f687f8c34cba79e.zip |
Update AndroidX libraries (#6940)
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); } |