Merge pull request #10086 from TacoTheDank/bumpAndroidX
Update some AndroidX libraries and compileSdk to 34
This commit is contained in:
commit
ee3455e1e5
16 changed files with 83 additions and 66 deletions
|
|
@ -27,6 +27,7 @@ import android.util.Log;
|
|||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.os.BundleCompat;
|
||||
|
||||
import org.schabi.newpipe.BuildConfig;
|
||||
import org.schabi.newpipe.MainActivity;
|
||||
|
|
@ -82,7 +83,8 @@ public final class StateSaver {
|
|||
return null;
|
||||
}
|
||||
|
||||
final SavedState savedState = outState.getParcelable(KEY_SAVED_STATE);
|
||||
final SavedState savedState = BundleCompat.getParcelable(
|
||||
outState, KEY_SAVED_STATE, SavedState.class);
|
||||
if (savedState == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue