Skip to content

Commit 1d85661

Browse files
committed
Update some AndroidX libraries
1 parent 63fdc10 commit 1d85661

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ android {
101101
ext {
102102
checkstyleVersion = '8.38'
103103

104-
androidxLifecycleVersion = '2.2.0'
104+
androidxLifecycleVersion = '2.3.1'
105105
androidxRoomVersion = '2.3.0'
106106

107107
icepickVersion = '3.2.0'
@@ -196,12 +196,12 @@ dependencies {
196196
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
197197

198198
/** AndroidX **/
199-
implementation 'androidx.appcompat:appcompat:1.3.0'
199+
implementation 'androidx.appcompat:appcompat:1.3.1'
200200
implementation 'androidx.cardview:cardview:1.0.0'
201201
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
202-
implementation 'androidx.core:core-ktx:1.3.2'
202+
implementation 'androidx.core:core-ktx:1.6.0'
203203
implementation 'androidx.documentfile:documentfile:1.0.1'
204-
implementation 'androidx.fragment:fragment-ktx:1.3.5'
204+
implementation 'androidx.fragment:fragment-ktx:1.3.6'
205205
implementation "androidx.lifecycle:lifecycle-livedata:${androidxLifecycleVersion}"
206206
implementation "androidx.lifecycle:lifecycle-viewmodel:${androidxLifecycleVersion}"
207207
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'

app/src/main/java/org/schabi/newpipe/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public void onItemSelected(final AdapterView<?> parent, final View view,
402402
new Handler(Looper.getMainLooper()).postDelayed(() -> {
403403
getSupportFragmentManager().popBackStack(null,
404404
FragmentManager.POP_BACK_STACK_INCLUSIVE);
405-
recreate();
405+
ActivityCompat.recreate(MainActivity.this);
406406
}, 300);
407407
}
408408

0 commit comments

Comments
 (0)