wordpress-mobile / wordpress-mobile/WordPress-Android
Update deprecated functions of Intent and Bundle on Java files
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
The following functions were deprecated in Android 13:
Intent.getParcelableExtra()
Intent.getSerializableExtra()
Bundle.getParcelable()
Bundle.getParcelableArrayList()
Bundle.getSerializable()
These functions on Kotlin files have been updated using CompatExtensions functions but have not been updated for Java files. While these functions are not currently blockers, they should be updated when converting to Kotlin or if they become blockers in the future.
The issue was initiated by this comment.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate Java usages of the listed deprecated Intent and Bundle functions, then compare the Kotlin updates in pull request 18061 and its CompatExtensions usage. The work is done when the relevant Java calls use the compatible approach and the Android 13 deprecation warnings are addressed; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, kotlin
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100