NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

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

Open TobiGr opened this issue 1 month ago • 0 comments

What is it?

  • [ ] Bugfix (user facing)
  • [ ] Feature (user facing) ⚠️ Your PR must target the refactor branch
  • [x] 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

TobiGr avatar Dec 10 '25 13:12 TobiGr