Update AndroidX libraries (#6940)

This commit is contained in:
Taco 2024-03-09 04:56:58 -05:00 committed by GitHub
parent b2718a9a12
commit e1ef2a643a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 7 deletions

View File

@ -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) {

View File

@ -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);
}

View File

@ -10,11 +10,11 @@ plugins {
project.ext {
// AndroidX
annotationVersion = "1.2.0"
appcompatVersion = "1.3.1"
coreVersion = "1.5.0"
fragmentVersion = "1.3.6"
mediaVersion = "1.4.3"
annotationVersion = "1.4.0"
appcompatVersion = "1.5.1"
coreVersion = "1.8.0"
fragmentVersion = "1.5.5"
mediaVersion = "1.6.0"
paletteVersion = "1.0.0"
preferenceVersion = "1.1.1"
recyclerViewVersion = "1.2.1"

View File

@ -18,6 +18,6 @@ dependencies {
implementation "org.greenrobot:eventbus:$eventbusVersion"
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
playApi 'androidx.mediarouter:mediarouter:1.2.5'
playApi 'androidx.mediarouter:mediarouter:1.3.0'
playApi 'com.google.android.gms:play-services-cast-framework:21.2.0'
}