Skip to content

Fix deprecation of Bundle.getSerializable(String) by using BundleCompat#12885

Merged
theimpulson merged 1 commit intoTeamNewPipe:devfrom
TobiGr:fix/serializable
Dec 13, 2025
Merged

Fix deprecation of Bundle.getSerializable(String) by using BundleCompat#12885
theimpulson merged 1 commit intoTeamNewPipe:devfrom
TobiGr:fix/serializable

Conversation

@TobiGr
Copy link
Contributor

@TobiGr TobiGr commented Dec 10, 2025

What is it?

  • Bugfix (user facing)
  • Feature (user facing) ⚠️ Your PR must target the refactor branch
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

This fixes the following warning during compilation:

file:app/src/main/java/org/schabi/newpipe/about/LicenseFragment.kt:36:55 'fun getSerializable(p0: String?): Serializable?' is deprecated. Deprecated in Java.

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

This fixes the following warning during compilation:

file:app/src/main/java/org/schabi/newpipe/about/LicenseFragment.kt:36:55 'fun getSerializable(p0: String?): Serializable?' is deprecated. Deprecated in Java.
@TobiGr TobiGr added the codequality Improvements to the codebase to improve the code quality label Dec 10, 2025
@github-actions github-actions bot added the size/small PRs with less than 50 changed lines label Dec 10, 2025
@theimpulson theimpulson merged commit de6dc02 into TeamNewPipe:dev Dec 13, 2025
6 checks passed
@theimpulson
Copy link
Member

Thank you

@TobiGr TobiGr deleted the fix/serializable branch December 13, 2025 08:24
@TobiGr TobiGr mentioned this pull request Dec 21, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codequality Improvements to the codebase to improve the code quality size/small PRs with less than 50 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants